]> git.openstreetmap.org Git - osqa.git/blobdiff - settings.py
Fixes question and answer count in the sidebar.
[osqa.git] / settings.py
index 1a9f7e169dd56cf885ddb7a38f32bb60c01c06bf..a7c589300508523648a62fe07d68b59b85765799 100644 (file)
@@ -85,10 +85,11 @@ try:
 except:
     pass
 
-try:
-    import rosetta
-    INSTALLED_APPS.append('rosetta')
-except:
-    pass
+if not DEBUG:
+    try:
+        import rosetta
+        INSTALLED_APPS.append('rosetta')
+    except:
+        pass
 
 AUTHENTICATION_BACKENDS = ['django.contrib.auth.backends.ModelBackend',]