X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/7064374636c2a7311fcb9c872ff7e877154ff7ef..44d59fd5e6145784aea778de40a70367691ef13c:/redakcja/context_processors.py?ds=sidebyside diff --git a/redakcja/context_processors.py b/redakcja/context_processors.py index 1c268cd6..6ba41c6b 100644 --- a/redakcja/context_processors.py +++ b/redakcja/context_processors.py @@ -15,7 +15,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, }