2 from base import Setting, SettingSet
4 from django.forms.widgets import Textarea
5 from django.utils.translation import ugettext_lazy as _
6 from django.conf import settings as djsettings
7 from django.utils.version import get_svn_revision
9 OSQA_VERSION = "Development Build"
10 SVN_REVISION = get_svn_revision(djsettings.SITE_SRC_ROOT)
12 MAINTAINANCE_MODE = Setting('MAINTAINANCE_MODE', None)
14 SETTINGS_PACK = Setting('SETTINGS_PACK', "default")
15 DJSTYLE_ADMIN_INTERFACE = Setting('DJSTYLE_ADMIN_INTERFACE', True)
16 NODE_MAN_FILTERS = Setting('NODE_MAN_FILTERS', [])
18 APP_URL = djsettings.APP_URL
19 APP_BASE_URL = djsettings.APP_BASE_URL
20 FORCE_SCRIPT_NAME = djsettings.FORCE_SCRIPT_NAME
21 OSQA_SKIN = djsettings.OSQA_DEFAULT_SKIN
22 LANGUAGE_CODE = djsettings.LANGUAGE_CODE
23 ADMIN_MEDIA_PREFIX = djsettings.ADMIN_MEDIA_PREFIX
24 ONLINE_USERS = Setting('ONLINE_USERS', {})
39 from moderation import *
44 from sitemaps import *
46 BADGES_SET = SettingSet('badges', _('Badges config'), _("Configure badges on your OSQA site."), 500)
48 #__all__ = locals().keys()