]> git.sommitrealweird.co.uk Git - sommitrealweird.git/blob - sommitrealweird/generic/views.py
Fix 404 renderer
[sommitrealweird.git] / sommitrealweird / generic / views.py
1 from settings import MEDIA_URL
2 from django.http import HttpResponseNotFound
3 from django.template import RequestContext, loader 
4
5
6 def render_404(request, template_name='404.html'):
7     c = {}
8     return render(request, '404.html', c, status=404)