[Grok-dev] Spotlight on : dolmen.content
Aroldo Souza-Leite
asouzaleite at gmx.de
Fri Jan 22 02:40:00 EST 2010
Hi Souheil,
I didn't undertand where the class MyComponent was grokked into the
registry under the component name "mycomponent" so that
>>> from grokcore.component import testing
>>> testing.grok_component('mycontent', MyContent)
True
became true. Is there an obvious, explicit Grok directive you didn't
show in the code or did some automagic Grok directive do it and chose
the default name "mycomponent" for it?
Thanks for the article.
Regards,
Aroldo.
More information about the Grok-dev
mailing list