There has been a lot of interest on the list of having a way to automatically wrap a request in a transaction. The most obvious way to do this is to add it into expose. Michele has done a great job putting together the relevant information (with suggestions from Ian Bicking) on ticket #80 here:
http://trac.turbogears.org/turbogears/ticket/80 Since I am already doing some hacking on expose (moving the validator and inputform functionality out to separate decorators) I thought I'd pick this one up. My question is - do we want this on by default, or do we want to explicitly enable it with a parameter to expose? Enabled by default (must explicitly disable): @expose(transaction=False) Disabled by default (must explicitly enable): @expose(transaction=True) Obviously the latter is backwards compatible, but if everyone is going to want a transaction for all of their controller methods, maybe it should be enabled by default? Sean

