Marius Gedminas wrote:
and which causes registration as an adapter without the need for ZCML.
I am not sure I like that. When does the registration take effect? On
module import?
No, that would be quite terrible. It would mean you could never import
anything without having registration going on.
The registration happens during "grok time", in other words, when you
explicitly grok something. E.g.:
<grok:grok package="foobar" />
or:
>>> grok.grok('foobar')
--
http://worldcookery.com -- Professional Zope documentation and training
Next Zope 3 training at Camp5: http://trizpug.org/boot-camp/camp5
_______________________________________________
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com