Andrew Groom wrote:
Thanks for your reply. I have seen references on how to set up adapters
in code, but I was trying avoid having to duplicate things that have
already been defined in zcml. However, if there's no other way around
it, then that's what I'll have to do.
Well, you could always install zope.configuration as well and then just
use the zcml, but provideAdapter is pretty lightweight and is what the
zcml stuff ends up calling under the hood anyway...
Simplistix - Content Management, Zope & Python Consulting
Zope3-dev mailing list