Update the main to use app registry
This commit is contained in:
11
apps/main/registry.py
Normal file
11
apps/main/registry.py
Normal 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
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user