]> git.openstreetmap.org Git - osqa.git/blob - forum/settings/__init__.py
Cleaning up a small mess.
[osqa.git] / forum / settings / __init__.py
1 import os.path
2 from base import Setting, SettingSet
3
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
8
9 OSQA_VERSION = "Development Build"
10 SVN_REVISION = get_svn_revision(djsettings.SITE_SRC_ROOT)
11
12 MAINTAINANCE_MODE = Setting('MAINTAINANCE_MODE', None)
13
14 SETTINGS_PACK = Setting('SETTINGS_PACK', "default")
15 DJSTYLE_ADMIN_INTERFACE = Setting('DJSTYLE_ADMIN_INTERFACE', True)
16 NODE_MAN_FILTERS = Setting('NODE_MAN_FILTERS', [])
17
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', {})
25
26
27 from basic import *
28 from sidebar import *
29 from email import *
30 from extkeys import *
31 from minrep import *
32 from repgain import *
33 from voting import *
34 from upload import *
35 from about import *
36 from faq import *
37 from form import *
38 from view import *
39 from moderation import *
40 from users import *
41 from static import *
42 from urls import *
43 from accept import *
44
45 BADGES_SET = SettingSet('badges', _('Badges config'), _("Configure badges on your OSQA site."), 500)
46
47 #__all__ = locals().keys()
48