]> git.openstreetmap.org Git - osqa.git/blobdiff - settings.py
Correcting a minor CSS error. No such value as "center" for vertical-align
[osqa.git] / settings.py
index 866a05674548bdeaed02e97ba6edae33d77ad5dd..a7c589300508523648a62fe07d68b59b85765799 100644 (file)
@@ -13,7 +13,7 @@ TEMPLATE_LOADERS = (
     'django.template.loaders.app_directories.load_template_source',
     'forum.modules.module_templates_loader',
     'forum.skins.load_template_source',
     'django.template.loaders.app_directories.load_template_source',
     'forum.modules.module_templates_loader',
     'forum.skins.load_template_source',
-#   'django.template.loaders.eggs.load_template_source',
+#     'django.template.loaders.eggs.load_template_source',
 )
 
 MIDDLEWARE_CLASSES = [
 )
 
 MIDDLEWARE_CLASSES = [
@@ -85,10 +85,11 @@ try:
 except:
     pass
 
 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',]
 
 AUTHENTICATION_BACKENDS = ['django.contrib.auth.backends.ModelBackend',]