X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/caaa4304f09a3d446f0677ac7203ef429170e7e0..1d7f1db84f74b1117e7f44867a51f165d7149cb4:/redakcja/context_processors.py?ds=sidebyside diff --git a/redakcja/context_processors.py b/redakcja/context_processors.py index 5e3372ea..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,5 +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, }