9 Commits

Author SHA1 Message Date
Nick Daly
250b0100aa Merge pull request #90 from jvalleroy/fix-templates-dir
Module template dirs are under project directory.
2014-08-19 21:34:57 -05:00
Sunil Mohan Adapa
7ff3742f73 Merge additional changes in fonfon/dev branch
- Remove duplicate fix for firstboot redirection
- Remove duplicate adding of actions_dir to cfg.py
- Capitalize global variable in module_loader.py
- Minor refactoring while adding app specific static directories
2014-08-17 20:35:04 +05:30
James Valleroy
64666d8b3a Module template dirs are under project directory. 2014-08-16 18:15:59 -04:00
fonfon
57ba43cfc9 allow modules to have custom static directories 2014-07-30 15:03:52 +03:00
fonfon
809dc4130a also raise url-import and init-errors in debug mode 2014-07-10 20:24:08 +03:00
fonfon
cf03ee160a raise module exceptions in DEBUG mode 2014-07-10 18:35:28 +03:00
fonfon
a82a83576f use djangos named URLs and url-reverse instead of manually constructing urls 2014-07-10 03:44:52 +00:00
Sunil Mohan Adapa
1e4deb7bb9 Move module loader to python logging 2014-07-05 21:28:19 +02:00
Sunil Mohan Adapa
58d13e3ed8 Use Django dispatcher instead of CherryPy dispatcher
This commit is big because anything small breaks the code.

- Django dispatcher is based on regular expressions and does not need a tree structure
- Reduces a lot of unnecessary dependencies among modules
- Use Django sessions middlewear instead of CherryPy sessions
- Introduce dependency based modules instead of numeric load order
- Remove PagePlugin and simply use Django views
- Eliminate page rendering wrappers in favor of Django context processors
- Use custom auth for now until replaced by Django auth middlewear
- Use Django templated 404 and 500 error pages
2014-06-12 23:33:25 +05:30