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 > >
I think it would be best to keep as a middleware, but make the settings code put it into the MIDDLEWARE in the right place (at the end, I presume) when DEBUG is true.