Hi,

On Mon, Jan 22, 2007 at 08:32:21AM +0100, Christian Theune wrote:

[snip]

> You'd have to open a connection to the database, get the root object and
> use that with setSite(). I don't have the complete spelling for that in
> my head though.

db = zapi.getUtility(IDatabase)
conn=db.open()
root=conn.root().data['Application']


Regards,

Frank
_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to