
robert at redcor
Oct 30, 2008, 11:12 PM
Post #1 of 1
(1621 views)
Permalink
|
|
how to access database declared in configure.zcml
|
|
Hi there, I am using collective tin. the new version users z3c.saconfig. to use it I have to declare the database in the configure.zcl like this: <db:engine name="declarations.database" url="mysql://root [at] localhos/energie" echo="True" /> <db:session name="energiecluster.eccontent.platforms" engine="declarations.database" /> I need this database at some place in my code. How can I access it. What I am looking for is some kind of getUtilitty(db) second question: where would I find what is defined in: xmlns:db="http://namespaces.zope.org/db http://namespaces.zope.org is not a valid link.. thanks for any pointers robert _______________________________________________ Zope-DB mailing list Zope-DB [at] zope http://mail.zope.org/mailman/listinfo/zope-db
|