18 Feb
2005
18 Feb
'05
2:07 p.m.
----- Original Message ----- From: "Istvan Albert" <ialbert@mailblocks.com> To: <zope@zope.org> Sent: February 18, 2005 8:43 AM Subject: [Zope] Re: using a ZODB standalone app with Zope
Chris Withers wrote:
In a python script how would I go about fetching the root of the database that is used by Zope.
container.getPhysicalRoot()
...but it sounds like you're after something else, what are you trying to do?
Thanks, I think that will work.
Instead of using two separate ZODB databases (one for my data and one implicitly used by Zope) I was aiming at store my data in the Zope database as well.
Have you looked at the DBTab product which allows you to mount multiple ZODBs (ie. one for code, one for data)? This works nicely for us. Jonathan