X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/596fa1bf821c572f45c16ba92cb0e65211f6a3ae..ebcd401830c8088d581c91e28f83b134d075ad18:/settings.py?ds=inline diff --git a/settings.py b/settings.py index 866a056..a7c5893 100644 --- a/settings.py +++ b/settings.py @@ -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.eggs.load_template_source', +# 'django.template.loaders.eggs.load_template_source', ) MIDDLEWARE_CLASSES = [ @@ -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',]