[Zope-dev] ZopeVocabularyRegistry

yuppie y.2008 at wcm-solutions.de
Sun Apr 27 15:18:43 EDT 2008


Hi!


ZopeVocabularyRegistry allows to register vocabularies as utilities.

_clear() in zope.app.schema.vocabulary hooks it up, importing 
zope.app.schema touches zope.app.schema.vocabulary and triggers the 
'_clear' call.

Zope 2.10 did hook up ZopeVocabularyRegistry as a side effect of loading 
the deprecated vocabulary directive. 
http://svn.zope.org/?view=rev&rev=77097 removed the deprecated 
directive, breaking vocabulary registration.


What is the recommended way to hook up ZopeVocabularyRegistry? Importing 
zope.app.schema.vocabulary in Five's __init__.py?


Cheers,

	Yuppie



More information about the Zope-Dev mailing list