X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/ae60b2a3949e96357477cc04f90fd0873cee8a92..25be50678152cb1787f6d9d0f15c0cc4345c3216:/src/wolnelektury/context_processors.py?ds=inline diff --git a/src/wolnelektury/context_processors.py b/src/wolnelektury/context_processors.py index fb5584e4d..0079ea0df 100644 --- a/src/wolnelektury/context_processors.py +++ b/src/wolnelektury/context_processors.py @@ -8,5 +8,6 @@ from django.conf import settings def extra_settings(request): return { 'STATIC_URL': settings.STATIC_URL, - 'FULL_STATIC_URL': request.build_absolute_uri(settings.STATIC_URL) + 'FULL_STATIC_URL': request.build_absolute_uri(settings.STATIC_URL), + 'USE_OPENID': getattr(settings, 'USE_OPENID', False) }