7 Dec
2004
7 Dec
'04
6:09 p.m.
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