On Thu, Jan 26, 2012 at 1:08 AM, Simone Orsi <[email protected]> wrote: > but - if I'm not wrong - I think you should import getSite as > > from zope.site.hooks import getSite
I think zope.app.component.hooks and zope.site.hooks are both recently (?) deprecated in favor of: >>> from zope.component.hooks import getSite This appears to be the place getSite() and setSite() are actually defined. Sean _______________________________________________ Product-Developers mailing list [email protected] https://lists.plone.org/mailman/listinfo/plone-product-developers
