X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/6d42bc478e3d1bd90eb294464748c21e4de0fc63..39328e6050c1fb8f0f66d2688f82b72b40ac175a:/src/wolnelektury/context_processors.py diff --git a/src/wolnelektury/context_processors.py b/src/wolnelektury/context_processors.py index fb857baa6..8f763c9fc 100644 --- a/src/wolnelektury/context_processors.py +++ b/src/wolnelektury/context_processors.py @@ -8,5 +8,6 @@ def extra_settings(request): return { 'STATIC_URL': settings.STATIC_URL, 'FULL_STATIC_URL': request.build_absolute_uri(settings.STATIC_URL), - 'USE_OPENID': getattr(settings, 'USE_OPENID', False) + 'USE_OPENID': getattr(settings, 'USE_OPENID', False), + 'VARIANT': settings.VARIANTS.get(request.get_host()), }