[sqlalchemy] Re: Reusing sqlalchemy models across several web apps

2011-05-21 Thread 371c
Hi Micheal, makes sense - i've implemented it and so far so good. Some details, if it might help: *I inject the session created in the different apps (w1, w2 or w3) into the models_app *The base class (1 unique base class used by all models) is created in the models app. Thanks, On May 20,

Re: [sqlalchemy] Re: Conflicting state in identity map?

2011-05-21 Thread Michael Bayer
On May 20, 2011, at 11:30 PM, Adrian wrote: Ok, I'll definitely do some quality debugging... Just to be clear -- I **don't** have to worry about closing my sessions in each controller? the best practice we recommend is that in a post-request event handler , you call remove() on your

[sqlalchemy] PyOhio taking place this July, accepting talk submissions now

2011-05-21 Thread Richard Harding
I figured I'd hit up the group. PyOhio is a pretty great local Python conference that takes place at the end of July. They're currently accepting submissions for talks. It's a bit smaller and more informal than something like PyCon, so it's a great place to give a talk at. They keep expanding