Re: session.save() after failed request

2009-01-16 Thread Malcolm Tredinnick
On Fri, 2009-01-16 at 11:19 +0100, Thomas Guettler wrote: > Hi, > > I think it is bad that request.session.save() is called, if > the DEBUG-View gets returned on an uncaught exception. > > I looked at the django source, but could not find a good patch for django > or my code. > > What is bad

session.save() after failed request

2009-01-16 Thread Thomas Guettler
Hi, I think it is bad that request.session.save() is called, if the DEBUG-View gets returned on an uncaught exception. I looked at the django source, but could not find a good patch for django or my code. What is bad about this: The debug view is not returned, since a second happens on