mirror of
https://github.com/pretix/pretix.git
synced 2026-08-25 13:12:00 +00:00
Restructure our python module. A lot.
This commit is contained in:
@@ -7,22 +7,22 @@ Python source code
|
||||
All the source code lives in ``src/``, which has several subdirectories.
|
||||
|
||||
pretix/
|
||||
This directory contains the basic Django settings and URL routing.
|
||||
This directory contains nearly all source code.
|
||||
|
||||
pretixbase/
|
||||
This is the django app containing all the models and methods which are
|
||||
essential to all of pretix's features.
|
||||
base/
|
||||
This is the django app containing all the models and methods which are
|
||||
essential to all of pretix's features.
|
||||
|
||||
pretixcontrol/
|
||||
This is the django app containing the frontend for organizers.
|
||||
control/
|
||||
This is the django app containing the frontend for organizers.
|
||||
|
||||
pretixpresale/
|
||||
This is the django app containing the frontend for users buying tickets.
|
||||
presale/
|
||||
This is the django app containing the frontend for users buying tickets.
|
||||
|
||||
helpers/
|
||||
Helpers contain a very few modules providing workarounds for low-level flaws in
|
||||
Django or installed 3rd-party packages, like a filter to combine the ``lessc``
|
||||
preprocessor with ``django-compressor``'s URL rewriting.
|
||||
helpers/
|
||||
Helpers contain a very few modules providing workarounds for low-level flaws in
|
||||
Django or installed 3rd-party packages, like a filter to combine the ``lessc``
|
||||
preprocessor with ``django-compressor``'s URL rewriting.
|
||||
|
||||
Language files
|
||||
--------------
|
||||
@@ -37,21 +37,25 @@ LESS source code
|
||||
We use less as a preprocessor for CSS. Our own less code is built in the same
|
||||
step as Bootstrap and FontAwesome, so their mixins etc. are fully available.
|
||||
|
||||
pretixcontrol
|
||||
pretixcontrol has two main LESS files, ``pretixcontrol/static/pretixcontrol/less/main.less`` and
|
||||
``pretixcontrol/static/pretixcontrol/less/auth.less``, importing everything else.
|
||||
pretix.control
|
||||
pretixcontrol has two main LESS files, ``pretix/control/static/pretixcontrol/less/main.less`` and
|
||||
``pretix/control/static/pretixcontrol/less/auth.less``, importing everything else.
|
||||
|
||||
pretix.presale
|
||||
pretixpresale has one main LESS files, ``pretix/control/static/pretix/presale/less/main.less``,
|
||||
importing everything else.
|
||||
|
||||
3rd-party assets
|
||||
^^^^^^^^^^^^^^^^
|
||||
|
||||
Bootstrap
|
||||
Bootstrap lives as a git submodule at ``pretixbase/static/bootstrap/``
|
||||
Bootstrap lives as a git submodule at ``pretix/base/static/bootstrap/``
|
||||
|
||||
Font Awesome
|
||||
Font Awesome lives as a git submodule at ``pretixbase/static/fontawesome/``
|
||||
Font Awesome lives as a git submodule at ``pretix/base/static/fontawesome/``
|
||||
|
||||
jQuery
|
||||
jQuery lives as a single JavaScript file in ``pretixbase/static/jquery/js/``
|
||||
jQuery lives as a single JavaScript file in ``pretix/base/static/jquery/js/``
|
||||
|
||||
jQuery plugin: Django formsets
|
||||
Our own modified version of `django-formset-js`_ is available as an independent
|
||||
|
||||
Reference in New Issue
Block a user