On 3/29/06, ajones <[EMAIL PROTECTED]> wrote:
>
> I think NotEmpty should be a class instantiation, so you should have:
> validator=validators.NotEmpty())],
> instead of:
> validator=validators.NotEmpty)],
>

The code acts the same way whether I pass the class or an instance,
which corresponds to the SimpleWidgetForm Trac documentation: "Note
that validators don't need to be instantiated unless you're passing in
arguments."

--
Tim Lesher <[EMAIL PROTECTED]>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to