[BlueBream] get site / portal root
agroszer at gmail.com
Mon Aug 2 03:32:58 EDT 2010
from zope.component import hooks
site = hooks.getSite()
Beware, this will get set during traversal and is a thread_local.
Monday, August 2, 2010, 2:56:58 AM, you wrote:
JR> Is there something better than getSiteManager().__parent__ for getting
JR> the context of a site / portal / app root?
JR> bluebream mailing list
JR> bluebream at zope.org
Adam GROSZER mailto:agroszer at gmail.com
Quote of the day:
Designed with your mind in mind by people who have in mind what you should have in mind.
More information about the bluebream