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