Ticket #2532: context_processor-media_url.diff
File context_processor-media_url.diff, 397 bytes (added by , 18 years ago) |
---|
-
django/core/context_processors.py
42 42 43 43 return context_extras 44 44 45 def media_url(request): 46 return {'media_url': settings.MEDIA_URL } 47 45 48 def request(request): 46 49 return {'request': request} 47 50