[Zope] Re: context is not defined

Josef Meile jmeile at hotmail.com
Tue Dec 7 13:09:07 EST 2004


Hi baptiste,

 > [...] error message
> NameError: name 'context' is not defined
I got it once when coding a product to be compatible with 2.7.2 and
2.6.4. It worked on the newest version, but not on the old one. Then
I realized that some where in zope 2.7.x the context attribute where
added to make it compatible with zope 3.x. On the older versions you
may use "here", which is also compatible with 2.7.x, but I guess it
will dissapear somewhere.

Regards,
Josef


More information about the Zope mailing list