[sqlalchemy] Re: Suggestions for db connect string configuration?

2009-08-06 Thread allen.fowler
On Aug 5, 6:29 pm, AF allen.fow...@yahoo.com wrote: Hello, Where do you folks recommend storing the database connection string in my application.  Clearly not in the same file with my declaratively defined model objects. And more generally, how do you recommend laying out an SQLAlchemy

[sqlalchemy] Re: Suggestions for db connect string configuration?

2009-08-06 Thread john smallberries
Woops I thought I was reading a pylons group when I replied to your message. Not much of that will make any sense in a pure sqlalchemy world. -- W On Aug 6, 7:56 am, allen.fowler allen.fow...@yahoo.com wrote: On Aug 5, 6:29 pm, AF allen.fow...@yahoo.com wrote: Hello, Where do you

[sqlalchemy] Re: Suggestions for db connect string configuration?

2009-08-06 Thread john smallberries
That's what .ini files are for (that thing you generated with make- config). Search for instructions regarding sqlalchemy.dburi in a .ini file if you want to have your connection magically setup for you and a single database is enough. For working with multiple databases, there's no universal