]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/settings/__init__.py
add the ability for admins to edit the min and max length of tags.
[osqa.git] / forum / settings / __init__.py
index 9ab0c6bf44554aeaedc3ec53ec8bc0f058148e48..caf0eaf1505f0945b8d3d0e5711a33bff9fedccb 100644 (file)
@@ -5,14 +5,20 @@ from forms import ImageFormWidget
 from django.forms.widgets import Textarea
 from django.utils.translation import ugettext_lazy as _
 from django.conf import settings as djsettings
+from django.utils.version import get_svn_revision
+
+OSQA_VERSION = "Development Build"
+SVN_REVISION = get_svn_revision(djsettings.SITE_SRC_ROOT)
 
-OSQA_VERSION = Setting('OSQA_VERSION', "Development Version")
 SETTINGS_PACK = Setting('SETTINGS_PACK', "default")
+DJSTYLE_ADMIN_INTERFACE = Setting('DJSTYLE_ADMIN_INTERFACE', True)
+
 APP_URL = djsettings.APP_URL
 FORUM_SCRIPT_ALIAS = djsettings.FORUM_SCRIPT_ALIAS
 
 
 from basic import *
+from sidebar import *
 from email import *
 from extkeys import *
 from minrep import *