X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/87ff3f803d2f147e6fa939a99c4c4a4ca6aa965f..c26ab6ee15974c1133a6d08c459b51199185f25f:/apps/wolnelektury_core/context_processors.py diff --git a/apps/wolnelektury_core/context_processors.py b/apps/wolnelektury_core/context_processors.py new file mode 100644 index 000000000..c91211605 --- /dev/null +++ b/apps/wolnelektury_core/context_processors.py @@ -0,0 +1,7 @@ +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) + }