From 4c8cb8b77590e3bbccb1fdf8dc05094b683a5a14 Mon Sep 17 00:00:00 2001 From: Brett Parker Date: Wed, 28 Aug 2019 15:59:52 +0000 Subject: [PATCH] Fix 404 rendering --- sommitrealweird/generic/views.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sommitrealweird/generic/views.py b/sommitrealweird/generic/views.py index 8bed87d..1622617 100644 --- a/sommitrealweird/generic/views.py +++ b/sommitrealweird/generic/views.py @@ -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 = {} -- 2.39.5