X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/7064374636c2a7311fcb9c872ff7e877154ff7ef..0c8f0ff3f3b4f2f6f5a4e4b18bc7d2d347a89c05:/redakcja/context_processors.py?ds=sidebyside diff --git a/redakcja/context_processors.py b/redakcja/context_processors.py index 1c268cd6..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 @@ -15,7 +16,8 @@ def settings(request): return { 'MEDIA_URL': settings.MEDIA_URL, '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, }