Update the main to use app registry

This commit is contained in:
Roberto Rosario
2012-09-10 22:02:27 -04:00
parent 3fe003b83b
commit 7fc4c4ee22
2 changed files with 17 additions and 4 deletions

11
apps/main/registry.py Normal file
View File

@@ -0,0 +1,11 @@
from __future__ import absolute_import
from django.utils.translation import ugettext_lazy as _
#from .icons import icon_history_list
#from .links import history_list
label = _(u'Main')
description = _(u'Main project app.')
dependencies = ['app_registry']
#icon = icon_history_list

View File

@@ -1,7 +1,7 @@
"""Configuration options for the main app"""
from django.utils.translation import ugettext_lazy as _
#"""Configuration options for the main app"""
#
#from django.utils.translation import ugettext_lazy as _
#
#Setting(
# namespace=namespace,
# name=u'SIDE_BAR_SEARCH',
@@ -17,6 +17,8 @@ from django.utils.translation import ugettext_lazy as _
# default=False,
#)
#
# TODO: move this setting to the icon app
#Setting(
# namespace=namespace,
# name=u'DISABLE_ICONS',