[Grok-dev] registering vocabulary

Paolo Piersanti paolo at micso.it
Wed Apr 13 10:19:24 EDT 2011


I was used to register a vocabulary with grok.global_utility but in 1.4 
now the lookup fail.

Registering the vocabulary factory directly with

getVocabularyRegistry().register(u'my_vocabulary',
                              MyVocabulary())
seems work fine.
Something has changed and is this the correct way to register
vocabulary factories in grok now ?


Paolo Piersanti

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5998 bytes
Desc: S/MIME Cryptographic Signature
Url : http://mail.zope.org/pipermail/grok-dev/attachments/20110413/a8e275fe/attachment.bin 


More information about the Grok-dev mailing list