[Grok-dev] Spotlight on : dolmen.content
asouzaleite at gmx.de
Fri Jan 22 02:40:00 EST 2010
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)
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.
More information about the Grok-dev