summaryrefslogtreecommitdiffstats
path: root/st_web/context_processors.py
diff options
context:
space:
mode:
authorNathan Straz <nstraz@redhat.com>2009-02-02 18:36:40 -0500
committerNathan Straz <nstraz@redhat.com>2009-02-02 18:36:40 -0500
commit7e1247b426ae86d7c660a9ca87f76d43773670f6 (patch)
treeb91f593102a185a998bec50255e52ef0022de948 /st_web/context_processors.py
downloadsteeltoe-7e1247b426ae86d7c660a9ca87f76d43773670f6.tar.gz
steeltoe-7e1247b426ae86d7c660a9ca87f76d43773670f6.tar.xz
steeltoe-7e1247b426ae86d7c660a9ca87f76d43773670f6.zip
Import a sanitized version of Steel Toe, the provisioning system.
Diffstat (limited to 'st_web/context_processors.py')
-rw-r--r--st_web/context_processors.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/st_web/context_processors.py b/st_web/context_processors.py
new file mode 100644
index 0000000..482af15
--- /dev/null
+++ b/st_web/context_processors.py
@@ -0,0 +1,4 @@
+from django.conf import settings
+
+def media(request):
+ return {'MEDIA_URL': settings.MEDIA_URL}