Pretty Django Error Pages

Continuing on with the
simple
tricks
that make everyone’s life a little bit better, I know a lot of
people hate that Django’s 500 pages don’t get rendered as a
RequestContext. This means that if you have context processors
(like one that sets a MEDIA_URL), they don’t get called. This was
causing our 500 pages not only to make users sad because something
broke, but knock them out of context becaue our entire design blew
up.

Read full article at “Eric’s Thoughts”

Leave a comment