[Grok-dev] using megrok.form in your project

Dirceu Pereira Tiegs dirceutiegs at gmail.com
Mon Feb 25 15:34:22 EST 2008


Hello David,

On Mon, Feb 25, 2008 at 3:00 PM, David Bain <david.bain at alteroo.com> wrote:
> Okay.. I've managed to get a megrok.form based project going with an
>  email field and an html field.
>
>  when I edit it says "constraint not satisfied"
>   I didn't set  a constraint, so I'm not sure if there is some kind of
>  default constraint

This line is correct?

    document = Email(title=u'HTML')

I think you should be using

    document = HTML(title=u'HTML')

Hope this helps,
-- 
Dirceu Pereira Tiegs
Weimar Consultoria

Hospedagem Plone, Zope e Python
http://www.pytown.com


More information about the Grok-dev mailing list