1 # This file is part of Wolne Lektury, licensed under GNU Affero GPLv3 or later.
2 # Copyright © Fundacja Wolne Lektury. See NOTICE for more information.
4 from django.conf import settings
7 def extra_settings(request):
9 'STATIC_URL': settings.STATIC_URL,
10 'FULL_STATIC_URL': request.build_absolute_uri(settings.STATIC_URL),
11 'USE_OPENID': getattr(settings, 'USE_OPENID', False),
12 'VARIANT': settings.VARIANTS.get(request.get_host()),