X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/0c502601ba7d9e9ee0a4d6a543c534edfad9c22e..2d3de002b2f70e3dd6ba6b14ebde5864275aa020:/redakcja/context_processors.py?ds=inline diff --git a/redakcja/context_processors.py b/redakcja/context_processors.py index 2724f832..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,6 +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', None), 'APP_VERSION': VERSION, }