X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/410bfa05ee36ed1d99356c443a5f3f6aa3ee9578..187fc6457aaa6f877a752e8c7942842b0dd4a932:/settings.py diff --git a/settings.py b/settings.py index 1a9f7e1..a7c5893 100644 --- a/settings.py +++ b/settings.py @@ -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',]