A quick hack to preview your Django error pages when DEBUG=True…
Simply add routes to your error pages as part of your urls.py, but only when you’re running in debug mode.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|from django.views.generic import TemplateView|
|# enable local preview of error pages|
|urlpatterns += patterns('',|
Now you can simply browse to /403/, /404/ or /500/ to see what they look like.