1
0
mirror of https://github.com/django/django.git synced 2025-10-25 22:56:12 +00:00

Reverted deprecation of media context processor (from r14293) to separate static files and media files a bit more.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14535 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Jannis Leidel
2010-11-11 21:44:33 +00:00
parent 63023e6ad9
commit 70edd4e103
6 changed files with 7 additions and 25 deletions

View File

@@ -194,9 +194,10 @@ TEMPLATE_CONTEXT_PROCESSORS = (
'django.contrib.auth.context_processors.auth',
'django.core.context_processors.debug',
'django.core.context_processors.i18n',
'django.contrib.staticfiles.context_processors.staticfiles',
'django.core.context_processors.media',
# 'django.core.context_processors.request',
'django.contrib.messages.context_processors.messages',
'django.contrib.staticfiles.context_processors.staticfiles',
)
# Output to use in template system for invalid (e.g. misspelled) variables.