Jacob Kaplan-Moss wrote:
> 
> Hey folks --
> 
> With Wilson's help I've mocked up some nice-looking error pages to 
> replace the ugly tracebacks when DEBUG is on.  Right now they're 
> implemented as a middleware component, but I think they'd be best 
> rolled into the Django core -- good looking, functional error  messages
> by default strike me as a very good idea.  Thoughts?
> 
> Server error page: http://toys.jacobian.org/django/500.html
> 404 error page: http://toys.jacobian.org/django/404.html
> 
> Jacob
> 
> 

We'll have to think about how to fit the template debugging work I did
in new-admin into this as well. An example of how this looks currently is:

http://robert.wittams.com/template-errors.png

( Catching an AttributeError from within the implementation of a
template tag.)

One thing I haven't come up with a satisfactory answer to is where to
put the template for this, and what it should look like - at the moment
it is in the admin app, and uses that layout too.

Maybe we need a "last chance" template loader that will always be added
on the end of TEMPLATE_LOADERS?

Reply via email to