27 Apr
2008
27 Apr
'08
7:18 p.m.
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