Added the SIDE_BAR_SEARCH setting option to the settings view

This commit is contained in:
Roberto Rosario
2011-04-14 15:35:15 -04:00
parent d54696c5bf
commit fd0781eb31
2 changed files with 14 additions and 0 deletions
+9
View File
@@ -1,3 +1,12 @@
'''Configuration options for the main app
'''
from django.conf import settings
from django.utils.translation import ugettext_lazy as _
SIDE_BAR_SEARCH = getattr(settings, 'MAIN_SIDE_BAR_SEARCH', False)
setting_description = {
'MAIN_SIDE_BAR_SEARCH': _(u'Controls whether the search\
functionality is provided by a sidebar widget or by a menu entry.')
}