]> git.openstreetmap.org Git - osqa.git/blobdiff - settings.py
Tries to solve an issue where pointing to question urls using some other node id...
[osqa.git] / settings.py
index 246c3177ff526e5c46cca30311a548155c77229f..a7c589300508523648a62fe07d68b59b85765799 100644 (file)
@@ -67,7 +67,7 @@ INSTALLED_APPS = [
     'django.contrib.admin',
     'django.contrib.humanize',
     'django.contrib.sitemaps',
-    #'django.contrib.markup',
+    'django.contrib.markup',
     'forum',
 ]
 
@@ -85,4 +85,11 @@ try:
 except:
     pass
 
+if not DEBUG:
+    try:
+        import rosetta
+        INSTALLED_APPS.append('rosetta')
+    except:
+        pass
+
 AUTHENTICATION_BACKENDS = ['django.contrib.auth.backends.ModelBackend',]