]> git.sommitrealweird.co.uk Git - sommitrealweird.git/blob - sommitrealweird/generic/views.py
fix: quick and dirty update to django 4.2
[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)