]> git.sommitrealweird.co.uk Git - sommitrealweird.git/blobdiff - sommitrealweird/settings.py
Update to use a context processor for the MEDIA_URL rather than having to pass it...
[sommitrealweird.git] / sommitrealweird / settings.py
index 280a04e8fad7dc95adb3635bbf4bda7a5d9f9d4b..e81db68001ae744ceb48a117b32676fa6d1e2f4a 100644 (file)
@@ -84,3 +84,10 @@ INSTALLED_APPS = (
     'content',
     'generic',
 )
+
+TEMPLATE_CONTEXT_PROCESSORS = (
+    'django.core.context_processors.auth',
+    'django.core.context_processors.debug',
+    'django.core.context_processors.i18n',
+    'generic.context_processors.media'
+)