#4 Make transaction wrapping for controllers configurable

1.5.1
open
nobody
sqlalchemy
enhancement
normal
2011-07-03
2011-03-10
No

This was reported as Trac ticket #1065 in 2006 by goodwill: "There was once a talk of being able to set whether a controller would be wrapped in transaction or not. Both the ticket and the maillist discussion talk about possible ways of doing so. I have tried them all and can not seem to set it. How do I set this in the controller? Setting cherrypy.request.in_transaction does not work, I tried using it as a decorator, as a argument to expose method and nothing."

Discussion

  • Chris Arndt 08/28/2008: "The feature requested here was finally implemented by the CP 3 tool introduced on the mailing list a few days ago and there is a discussion how to integrate this best into TG 1.5."

     


Anonymous


Cancel   Add attachments