Christoph Haas wrote: > Would it be wise to add a "model.Session.commit()" to the lib/base.py -> > BaseController -> __after__()?
I'm not using commit(), only flush(), so I can't really answer your question. But at least, __after__ would definitly be the place to put Session.remove() / Session.close() rather than a try: finally: block, IMHO. Regards, -- Alexandre CONRAD --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
