Re: Re: Ticket #2773: django.views.defaults.server_error should use RequestContext

2006-09-22 Thread James Bennett
On 9/22/06, Afternoon <[EMAIL PROTECTED]> wrote: > James, why are context processors not able to handle exceptions and > fall back to basic output, i.e. return an empty dictionary? Your context processor function could, if it wanted, wrap some of its own possibly problematic code in a try/except

Re: Re: Ticket #2773: django.views.defaults.server_error should use RequestContext

2006-09-21 Thread James Bennett
On 9/21/06, Afternoon <[EMAIL PROTECTED]> wrote: > At the same time middleware such as the session mechanics are still > invoked, performing complex actions. Why are these safer than the > context processors? In part because it depends on when the exception happens, and in part because middleware