X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/357027375ff8867f42ca34bcbfb5a78b5b185fc3..d5e836566b0bbff5242de33acc264ca94ad11f49:/src/wolnelektury/context_processors.py diff --git a/src/wolnelektury/context_processors.py b/src/wolnelektury/context_processors.py index 5885e039b..0079ea0df 100644 --- a/src/wolnelektury/context_processors.py +++ b/src/wolnelektury/context_processors.py @@ -4,8 +4,10 @@ # 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) }