[Answer]-Base.html in root template directory can't access "MEDIA_URL"

1👍

You should RequestContext(request) in views.py and added (r'^media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': MEDIA_ROOT }), in urls.py

like https://github.com/halitalptekin/PyTr/tree/master/src/blog

Leave a comment