Directory structure¶
All the source code lives in src/, which has several subdirectories.
- i-ticket/
This directory contains nearly all source code that belongs to i-ticket.
- base/
This is the Django app containing all the models and methods which are essential to all of i-ticket’s features.
- control/
This is the Django app containing the front end for organizers.
- presale/
This is the Django app containing the front end for users buying tickets.
- api/
This is the Django app containing all views and serializers for i-ticket’ REST API.
- helpers/
Helpers contain a very few modules providing workarounds for low-level flaws in Django or installed 3rd-party packages.
- locale/
Contains translation file for i-ticket
- multidomain/
Additional code implementing our customized URL handling.
- static/
Contains all static files (CSS/SASS, JavaScript, images) of i-ticket’ core. We use libsass as a preprocessor for CSS. Our own sass code is built in the same step as Bootstrap and FontAwesome, so their mixins etc. are fully available.
- testutils/
Contains helper methods that are useful to write the test suite for i-ticket or test suites for i-ticket plugins.
- tests/
This is the root directory for all test codes. It includes subdirectories
api,base,control,presale,helpers,multidomainandpluginsto mirror the structure of the i-ticket source code as well astestdummy, which is a i-ticket plugin used during testing.