Re: Pyramid project templates

2010-11-28 Thread Mike Orr
On Sun, Nov 28, 2010 at 9:33 PM, Ben Bangert wrote: > On Nov 24, 2010, at 3:13 PM, Mike Orr wrote: > >> Why a list of sessions? That doesn't seem to give much control over >> which session you get. > > It wasn't intended to. That was just so I wouldn't need to do 'global > db_session' inside the

Re: Pyramid project templates

2010-11-28 Thread Ben Bangert
On Nov 24, 2010, at 3:13 PM, Mike Orr wrote: > Why a list of sessions? That doesn't seem to give much control over > which session you get. It wasn't intended to. That was just so I wouldn't need to do 'global db_session' inside the configure function. - Ben -- You received this message becau

Re: Pyramid project templates

2010-11-28 Thread Ben Bangert
On Nov 24, 2010, at 7:10 PM, Daniel Holth wrote: > I recommend the status quo. My reusable pyramid application will not need to > import pyramid_sqla. It will: > • have its own declarative base > • require the user to call ponzi_auth.configure_database(engine) > • not use databa