13 Commits

Author SHA1 Message Date
fonfon
50f657fbc5 tiny docstring, import and trailing slash change 2014-07-10 04:33:12 +00:00
fonfon
a82a83576f use djangos named URLs and url-reverse instead of manually constructing urls 2014-07-10 03:44:52 +00:00
fonfon
32872cea12 fixed broken links in main/sidemenu when using server_dir '/' 2014-07-09 03:15:39 +00: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
Sunil Mohan Adapa
4e318ff434 Add a menu method to find menu items by URL 2014-06-12 23:17:53 +05:30
Sunil Mohan Adapa
ef493ae243 Use new-style classes everywhere 2014-06-06 18:21:54 +05:30
Sunil Mohan Adapa
994199f096 Cleanup menu generation using templates 2014-05-13 01:00:38 +05:30
James Valleroy
d48ecb6722 Use server_dir as replacement for base_href. 2013-11-13 20:47:33 -05:00
James Valleroy
1127ff4f99 Prepend server_dir to menu items. 2013-11-13 20:38:39 -05:00
Piotr Ożarowski
20d4f961b6 use stdlib's json module if simplejson is missing
json is available in Python >= 2.6
2013-09-10 23:12:46 +02:00
Sean O'Brien
5685d3f387 fixes to boostrap, new icons, mobile view works 2012-03-12 14:39:32 -04:00
James Vasile
abbdae5691 menu can add base href automatically 2012-02-19 15:07:15 -05:00
James Vasile
35071d7212 ... 2011-02-22 13:32:45 -05:00