menu and submenu now also uses djangos named urls and url-reverse

This commit is contained in:
fonfon committed 2014-07-10 23:29:06 +03:00
1 parent 809dc4130a
commit 5150efac5f
17 files changed
+68 -55

No files matched your search

+1 -1
View File
@@ -6,7 +6,7 @@ import cfg
def init():
"""Initialize the system module"""
cfg.main_menu.add_item(_('System'), 'icon-cog', '/sys', 100)
cfg.main_menu.add_urlname(_('System'), 'icon-cog', 'system:index', 100)
def index(request):