Code layout change.
[wolnelektury.git] / src / wolnelektury / context_processors.py
1 # -*- coding: utf-8 -*-
2 # This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
3 # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
4 #
5 from django.conf import settings
6
7 def extra_settings(request):
8     return {
9         'STATIC_URL': settings.STATIC_URL,
10         'FULL_STATIC_URL': request.build_absolute_uri(settings.STATIC_URL)
11     }