[Grok-dev] Re: What would a megrok.z3cform (and a Zope2/plone.z3cform equivalent) look like?

Martijn Faassen faassen at startifact.com
Wed Aug 6 08:56:29 EDT 2008


Hey,

Wichert Akkerman wrote:
[snip]
>> What would happen if I had a five.grok.z3cform module (i.e. 
>> five/grok/z3cform.py) and a five.grok.z3cform package with its own modules?
> 
> if the namespace dance happens in the right __init__.py places it just
> works. If not unexpected things may happen.

five.grok is not a namespace package, so as far as I know, it won't 
work. I might be mistaken, but I thought you could only plug other 
packages into foo.bar if foo.bar was a namespace package and did the 
namespace dance in its __init__.py.

Regards,

Martijn



More information about the Grok-dev mailing list