improve error page

This commit is contained in:
erichhasl
2017-11-19 16:50:31 +01:00
parent da62902950
commit 830c0d5ed6
3 changed files with 10 additions and 1 deletions
+2 -1
View File
@@ -3,4 +3,5 @@ from django.http import HttpResponseNotFound
def error_404(request):
return HttpResponseNotFound(render_to_string('404.html'))
return HttpResponseNotFound(render_to_string('404.html',
context={'url': request.path}))