X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/2444d6ffd7995be782615589fb1d5aef2c8277ce..7eca93637b2f696dcc140d36e44d5f4810346e2c:/forum/settings/__init__.py?ds=sidebyside diff --git a/forum/settings/__init__.py b/forum/settings/__init__.py index e10fc76..4596605 100644 --- a/forum/settings/__init__.py +++ b/forum/settings/__init__.py @@ -7,8 +7,13 @@ 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) +# We'll have to keep in mind this variable on every release. +if SVN_REVISION == u'SVN-unknown': + SVN_REVISION = u'SVN-1000' + MAINTAINANCE_MODE = Setting('MAINTAINANCE_MODE', None) SETTINGS_PACK = Setting('SETTINGS_PACK', "default") @@ -41,6 +46,7 @@ from users import * from static import * from urls import * from accept import * +from sitemaps import * BADGES_SET = SettingSet('badges', _('Badges config'), _("Configure badges on your OSQA site."), 500)