Skip to content
Browse files

Use template processors when displaying a 500 error (Django compress …

…needs them)
  • Loading branch information...
1 parent 1801f00 commit 0baf8201282dc10fc3f078234358df7d0fd3a746 @cnorthwood cnorthwood committed Nov 25, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 molly/apps/home/views.py
View
2 molly/apps/home/views.py
@@ -94,7 +94,7 @@ def handler500(request):
except Exception, e:
pass
- response = render_to_response('500.html', context)
+ response = render_to_response('500.html', context, context_instance=RequestContext(request))
response.status_code = 500
return response

0 comments on commit 0baf820

Please sign in to comment.
Something went wrong with that request. Please try again.