[tg-trunk] Re: TurboGears-1.5 and transactions

2008-08-30 Thread indigophone
I had a discussion with Mark on freenode about problems related to this. When using SQLAlchemy 0.5, committing in expose function breaks. It is causing a new session to be created and then the model cannot be accessed within the template. Mark told me he believes it is related to internal

[tg-trunk] Re: TurboGears-1.5 and transactions

2008-08-29 Thread [EMAIL PROTECTED]
On Aug 24, 3:41 pm, dbrattli [EMAIL PROTECTED] wrote: Hi, i had an accident in a bike race yesterday, and cannot help out for some days/weeks. But tools are good since they don't affect the whole app as wsgi!? exactly, tools can apply to only some parts of the tree.

[tg-trunk] Re: TurboGears-1.5 and transactions

2008-08-24 Thread Florent Aide
On 8/22/08, iain duncan [EMAIL PROTECTED] wrote: install tg1transaction manager. I am wondering if we could not use remoze.tm in tg 1.5 since CP3 is wsgi compliant... This would make us even more close to tg2. +1 on that idea from a users perspective. Seems the most like putting

[tg-trunk] Re: TurboGears-1.5 and transactions

2008-08-24 Thread Alberto Valverde
On Aug 24, 2008, at 5:07 PM, Florent Aide [EMAIL PROTECTED] wrote: On 8/22/08, iain duncan [EMAIL PROTECTED] wrote: install tg1transaction manager. I am wondering if we could not use remoze.tm in tg 1.5 since CP3 is wsgi compliant... This would make us even more close to tg2. +1

[tg-trunk] Re: TurboGears-1.5 and transactions

2008-08-24 Thread dbrattli
Hi, i had an accident in a bike race yesterday, and cannot help out for some days/weeks. But tools are good since they don't affect the whole app as wsgi!? -- Dag On Aug 24, 5:07 pm, Florent Aide [EMAIL PROTECTED] wrote: On 8/22/08, iain duncan [EMAIL PROTECTED] wrote:   install

[tg-trunk] Re: TurboGears-1.5 and transactions

2008-08-22 Thread Florent Aide
On 8/22/08, dbrattli [EMAIL PROTECTED] wrote: Hi, With TG-1.5 we can now run database transactions as a CP3 tool instead of @expose. That way you can easily decide which controllers that gets transactions and who don't by only enabling/disabling the CP3 tool for specific controllers.

[tg-trunk] Re: TurboGears-1.5 and transactions

2008-08-22 Thread Mark Ramm
But to get this refactoring moving we would need to have an easy to install tg1transaction manager. I am wondering if we could not use remoze.tm in tg 1.5 since CP3 is wsgi compliant... This would make us even more close to tg2. An alternative would be to make repoze.tm into a cp3 tool.

[tg-trunk] Re: TurboGears-1.5 and transactions

2008-08-22 Thread iain duncan
On Fri, 2008-22-08 at 12:19 -0400, Mark Ramm wrote: But to get this refactoring moving we would need to have an easy to install tg1transaction manager. I am wondering if we could not use remoze.tm in tg 1.5 since CP3 is wsgi compliant... This would make us even more close to tg2. An