Ticket #2532: context_processor-media_url.diff

File context_processor-media_url.diff, 397 bytes (added by dummy@…, 18 years ago)

django.core.content_processor.media_url

  • django/core/context_processors.py

     
    4242
    4343    return context_extras
    4444
     45def media_url(request):
     46    return {'media_url': settings.MEDIA_URL }
     47
    4548def request(request):
    4649    return {'request': request}
    4750
Back to Top