improve error page
This commit is contained in:
@@ -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}))
|
||||
|
||||
Reference in New Issue
Block a user