[Zope-dev] Re: straighting out the SQLAlchemy integration mess

Brian Sutherland brian at vanguardistas.net
Thu Apr 10 15:38:48 EDT 2008


On Thu, Apr 10, 2008 at 09:29:43PM +0200, Brian Sutherland wrote:
> On Thu, Apr 10, 2008 at 07:31:54PM +0200, Andreas Jung wrote:
> > Please *NO* database specific configurations within ZCML. We're running 
> > applications in up three or four different environments and I don't want to 
> > maintain instance specific configurations within ZCML. Either we pass
> > such informations through environment variables or the database connections 
> > parameters are read from a configuration within the instance configuration.

I must admit though, that being able to set an environment variable and
have an IZopeDatabaseAdapter utility registered from that would make
setting up functional tests much nicer.

Currently, because of layers, all my functional tests run against a
magical database "test" :(((

-- 
Brian Sutherland


More information about the Zope-Dev mailing list