summaryrefslogtreecommitdiff
path: root/lib/context-processors/context_processors.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/context-processors/context_processors.py')
-rw-r--r--lib/context-processors/context_processors.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/context-processors/context_processors.py b/lib/context-processors/context_processors.py
new file mode 100644
index 0000000..5691102
--- /dev/null
+++ b/lib/context-processors/context_processors.py
@@ -0,0 +1,3 @@
+def media_url(request):
+ from django.conf import settings
+ return {'media_url': settings.MEDIA_URL, 'map_key':settings.MAP_API_KEY}