1 from base import Setting, SettingSet
2 from django.forms.widgets import Textarea
3 from django.utils.translation import ugettext_lazy as _
5 STATIC_PAGE_REGISTRY = Setting('STATIC_PAGE_REGISTRY', {})
7 CSS_SET = SettingSet('css', 'Custom CSS', "Define some custom css you can use to override the default css.", 2000)
9 USE_CUSTOM_CSS = Setting('USE_CUSTOM_CSS', False, CSS_SET, dict(
10 label = _("Use custom CSS"),
11 help_text = _("Do you want to use custom CSS."),
14 CUSTOM_CSS = Setting('CUSTOM_CSS', '', CSS_SET, dict(
15 label = _("Custom CSS"),
16 help_text = _("Your custom CSS."),
17 widget=Textarea(attrs={'rows': '25'}),