]> git.sommitrealweird.co.uk Git - sommitrealweird.git/blob - sommitrealweird/generic/views.py
8bed87d8bc09ddee3865aa3ba90e3bc1a000fcea
[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)