29 lines
732 B
Python
29 lines
732 B
Python
"""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,
|
|
)
|