I'm not really a big fan of using the threadlocal version of managing a SQLAlchemy session. I'd prefer to either setup the session using a BeforeRequest event handler or simply setup a session factory at configuration (ie Configurator) time and store it in registry.settings so that requests can request a session whenever they want.
- Rocky -- You received this message because you are subscribed to the Google Groups "pylons-devel" group. To post to this group, send email to pylons-de...@googlegroups.com. To unsubscribe from this group, send email to pylons-devel+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pylons-devel?hl=en.