]> git.openstreetmap.org Git - osqa.git/blob - forum/settings/__init__.py
OSQA-565, fixing small typo in the administration: theyr -> their, recompiling the...
[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
11 SVN_REVISION = get_svn_revision(djsettings.SITE_SRC_ROOT)
12
13 # We'll have to keep in mind this variable on every release.
14 if SVN_REVISION == u'SVN-unknown':
15     SVN_REVISION = u'SVN-1000'
16
17 MAINTAINANCE_MODE = Setting('MAINTAINANCE_MODE', None)
18
19 SETTINGS_PACK = Setting('SETTINGS_PACK', "default")
20 DJSTYLE_ADMIN_INTERFACE = Setting('DJSTYLE_ADMIN_INTERFACE', True)
21 NODE_MAN_FILTERS = Setting('NODE_MAN_FILTERS', [])
22
23 APP_URL = djsettings.APP_URL
24 APP_BASE_URL = djsettings.APP_BASE_URL
25 FORCE_SCRIPT_NAME = djsettings.FORCE_SCRIPT_NAME
26 OSQA_SKIN = djsettings.OSQA_DEFAULT_SKIN
27 LANGUAGE_CODE = djsettings.LANGUAGE_CODE
28 ADMIN_MEDIA_PREFIX = djsettings.ADMIN_MEDIA_PREFIX
29 ONLINE_USERS = Setting('ONLINE_USERS', {})
30
31
32 from basic import *
33 from sidebar import *
34 from email import *
35 from extkeys import *
36 from minrep import *
37 from repgain import *
38 from voting import *
39 from upload import *
40 from about import *
41 from faq import *
42 from form import *
43 from view import *
44 from moderation import *
45 from users import *
46 from static import *
47 from urls import *
48 from accept import *
49 from sitemaps import *
50
51 BADGES_SET = SettingSet('badges', _('Badges config'), _("Configure badges on your OSQA site."), 500)
52
53 #__all__ = locals().keys()
54