Laurence Rowe wrote:
On Apr 28, 4:38 pm, Chris Withers <ch...@simplistix.co.uk> wrote:
Laurence Rowe wrote:
Chris,
This is what the combination of repoze.tm2/transaction and
zope.sqlalchemy does for you. You don't have to do anything special
other than that.
It doesn't do the .remove().
BFG currently has a bit of horribleness to make that work.
I'd like to get rid of it or make it less horrible...

Can you point me at where it does that please.

http://svn.repoze.org/repoze.bfg/trunk/repoze/bfg/paster_templates/routesalchemy/+package+/run.py_tmpl

...the handle_teardown function.

I no longer believe this is necessary, pending absolute confirmation from Michael in the "Re: [sqlalchemy] session lifecycle and wsgi" thread.

It's certainly not necessary to do the close() *and* the remove() ;-)

cheers,

Chris

--
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalch...@googlegroups.com.
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to