Make coin more extensible and customisable (choose which applications to enable)
For now, all applications are tightly integrated in coin:
- applications are referenced in the main
urls.py
file - the menu template
coin/templates/menu_items.html
directly lists applications - application templates assume a specific template structure in Coin (base template named
base.html
, blocks namedcontent
andjs
) - no application ships its own CSS, the CSS for all applications is in a single CSS file
This makes it difficult to use only a subset of available applications.
A solution could be to make each application independent (maybe even in separate git repositories), and have several project (coin_illyse
, coin_faimaison
, ...) that define the settings (notably INSTALLED_APPS
), the urls, the global CSS, and the global templates. A new user of coin would just copy one of the existing projects and modify it to suit its needs.
Related: 13ebafbc, #52 (closed), #22