On Thu, 2006-09-21 at 08:48 +1000, Malcolm Tredinnick wrote:
> On Wed, 2006-09-20 at 22:48 +0100, Afternoon wrote:
> > Just a quick note to say I've added a ticket and patch to modify  
> > django.views.defaults.server_error to use RequestContext instead of  
> > Context, thus making context-processor-generated context available to  
> > 500 pages.
> 
> Whilst I understand what you are trying to do, this isn't a good idea.
> When a 500 error is raised we should just send back the error page to
> the user without trying to be fancy. At that point (internal server
> error), the internal state is very unclear and inconsistent, so we
> should assume as little as possible with respect to being able to do any
> more computations.

And then I look at the ticket and discover that Mr Bennett is ahead of
me on this one and has even tracked down the revision number where we
set up the current behaviour. Sorry for the noise.

Cheers,
Malcolm



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers
-~----------~----~----~----~------~----~------~--~---

Reply via email to