[sqlalchemy] Re: Session and pre/post callable methods

2009-04-02 Thread Laurent Rahuel
Thanks for this quick response Michael Bayer a écrit : look into using MapperExtension and/or SessionExtension to add hooks within the flush process. Laurent Rahuel wrote: Hi, I'm currently trying to port a Django based application using sqlalchemy and I'm a bit confused with some

[sqlalchemy] Re: Session and pre/post callable methods

2009-04-01 Thread Michael Bayer
look into using MapperExtension and/or SessionExtension to add hooks within the flush process. Laurent Rahuel wrote: Hi, I'm currently trying to port a Django based application using sqlalchemy and I'm a bit confused with some Django's orm features I'm not able to find in sqlalchemy. To

[sqlalchemy] Re: Session and pre/post callable methods

2009-04-01 Thread az
u have MapperExtensions, per class, and u have SessionExtension, per session. Both exhibit various events, in different life-span points. i think there are some decorators for declarative... On Wednesday 01 April 2009 19:26:35 Laurent Rahuel wrote: Hi, I'm currently trying to port a Django