Ticket #5617: server_error.2.patch
File server_error.2.patch, 462 bytes (added by , 17 years ago) |
---|
-
django/views/defaults.py
87 87 Context: None 88 88 """ 89 89 t = loader.get_template(template_name) # You need to create a 500.html template. 90 return http.HttpResponseServerError(t.render( Context({})))90 return http.HttpResponseServerError(t.render(RequestContext(request)))