[Answer]-Django 1.6 {{ MEDIA_URL }} has a blank value in template

1👍

According to what you said, the error is the same related here:

https://groups.google.com/forum/#!topic/django-brasil/f-5WwMA2bac the context processor is listed in MIDDLEWARE_CLASSES instead of TEMPLATE_CONTEXT_PROCESSORS.

0👍

try add context_instance=RequestContext(request) in your view

def something(request):
   #your view goes here
   render_to_response('template.html',{#your_dict_items},context_instance=RequestContext(request))

Leave a comment