X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/2cd5a971d3cf9708b43a523a339212cb9220cef3..b89e1c4384485707316dae1cd3fe6f98e84dfa73:/redakcja/context_processors.py diff --git a/redakcja/context_processors.py b/redakcja/context_processors.py index aec6df71..8aaf6933 100644 --- a/redakcja/context_processors.py +++ b/redakcja/context_processors.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 + def settings(request): from django.conf import settings @@ -17,6 +18,6 @@ def settings(request): 'STATIC_URL': settings.STATIC_URL, 'IMAGE_DIR': settings.IMAGE_DIR, 'DEBUG': settings.DEBUG, - 'RAVEN_CONFIG': getattr(settings, 'RAVEN_CONFIG'), + 'RAVEN_CONFIG': getattr(settings, 'RAVEN_CONFIG', None), 'APP_VERSION': VERSION, }