upgrade
[wolnelektury.git] / src / wolnelektury / context_processors.py
index fb857ba..8f763c9 100644 (file)
@@ -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()),
     }