Django {{ MEDIA_URL }} blank @DEPRECATED

You need to add the RequestContext in your render_to_response for the context processors to be processed. In your case: from django.template.context import RequestContext context = {‘latest’: p} render_to_response(‘Question/latest.html’, context_instance=RequestContext(request, context)) From the docs: context_instance The context instance to render the template with. By default, the template will be rendered with a Context instance (filled with … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)