X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/410bfa05ee36ed1d99356c443a5f3f6aa3ee9578..771d73b1d54c1f31a8ceccec81c948283c32f090:/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',]