From 7fc4c4ee22b56a1f27e814740ff008c149546ddf Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Mon, 10 Sep 2012 22:02:27 -0400 Subject: [PATCH] Update the main to use app registry --- apps/main/registry.py | 11 +++++++++++ apps/main/settings.py | 10 ++++++---- 2 files changed, 17 insertions(+), 4 deletions(-) create mode 100644 apps/main/registry.py diff --git a/apps/main/registry.py b/apps/main/registry.py new file mode 100644 index 0000000000..19973bcb2e --- /dev/null +++ b/apps/main/registry.py @@ -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 diff --git a/apps/main/settings.py b/apps/main/settings.py index bce6a18351..260985fb16 100644 --- a/apps/main/settings.py +++ b/apps/main/settings.py @@ -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',