Main app updates
This commit is contained in:
+21
-24
@@ -1,28 +1,25 @@
|
||||
"""Configuration options for the main app"""
|
||||
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
from smart_settings.api import Setting, SettingNamespace
|
||||
|
||||
namespace = SettingNamespace('main', _(u'Main'), module='main.conf.settings')
|
||||
|
||||
Setting(
|
||||
namespace=namespace,
|
||||
name=u'SIDE_BAR_SEARCH',
|
||||
global_name=u'MAIN_SIDE_BAR_SEARCH',
|
||||
default=False,
|
||||
description=_(u'Controls whether the search functionality is provided by a sidebar widget or by a menu entry.')
|
||||
)
|
||||
|
||||
Setting(
|
||||
namespace=namespace,
|
||||
name=u'DISABLE_HOME_VIEW',
|
||||
global_name=u'MAIN_DISABLE_HOME_VIEW',
|
||||
default=False,
|
||||
)
|
||||
|
||||
Setting(
|
||||
namespace=namespace,
|
||||
name=u'DISABLE_ICONS',
|
||||
global_name=u'MAIN_DISABLE_ICONS',
|
||||
default=False,
|
||||
)
|
||||
#Setting(
|
||||
# namespace=namespace,
|
||||
# name=u'SIDE_BAR_SEARCH',
|
||||
# global_name=u'MAIN_SIDE_BAR_SEARCH',
|
||||
# default=False,
|
||||
# description=_(u'Controls whether the search functionality is provided by a sidebar widget or by a menu entry.')
|
||||
#)
|
||||
#
|
||||
#Setting(
|
||||
# namespace=namespace,
|
||||
# name=u'DISABLE_HOME_VIEW',
|
||||
# global_name=u'MAIN_DISABLE_HOME_VIEW',
|
||||
# default=False,
|
||||
#)
|
||||
#
|
||||
#Setting(
|
||||
# namespace=namespace,
|
||||
# name=u'DISABLE_ICONS',
|
||||
# global_name=u'MAIN_DISABLE_ICONS',
|
||||
# default=False,
|
||||
#)
|
||||
|
||||
Reference in New Issue
Block a user