projects
/
sommitrealweird.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update to use a context processor for the MEDIA_URL rather than having to pass it...
[sommitrealweird.git]
/
sommitrealweird
/
settings.py
diff --git
a/sommitrealweird/settings.py
b/sommitrealweird/settings.py
index 280a04e8fad7dc95adb3635bbf4bda7a5d9f9d4b..e81db68001ae744ceb48a117b32676fa6d1e2f4a 100644
(file)
--- a/
sommitrealweird/settings.py
+++ b/
sommitrealweird/settings.py
@@
-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'
+)