23 Mar
2009
23 Mar
'09
11:58 a.m.
Jacob Holm wrote:
Can someone confirm to me whether or not manually specifying the context as I have in the example above would work, or would I need to do:
adapter1 = getAdapter(a,ISomething,context=siteA) adapter2 = getAdapter(b,ISomething,context=siteB)
In general, using "context=a" should give the same result as "context=siteA".
Why? What actually makes this work? cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk