fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rearrangements: new core app, templates in apps, split settings;
[wolnelektury.git]
/
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
(file)
index 0000000..
c912116
--- /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)
+ }