]> git.sommitrealweird.co.uk Git - sommitrealweird.git/commitdiff
Fix 404 rendering
authorBrett Parker <iDunno@sommitrealweird.co.uk>
Wed, 28 Aug 2019 15:59:52 +0000 (15:59 +0000)
committerBrett Parker <iDunno@sommitrealweird.co.uk>
Wed, 28 Aug 2019 15:59:52 +0000 (15:59 +0000)
sommitrealweird/generic/views.py

index 8bed87d8bc09ddee3865aa3ba90e3bc1a000fcea..16226172470841144faa5b6add4998fad135f1f4 100644 (file)
@@ -1,7 +1,5 @@
 from settings import MEDIA_URL
-from django.http import HttpResponseNotFound
-from django.template import RequestContext, loader 
-
+from django.shortcuts import render
 
 def render_404(request, template_name='404.html'):
     c = {}