Kevin Dangoor wrote:
> On 12/27/05, Michele Cella <[EMAIL PROTECTED]> wrote:
> > Also since (as Mike said) you are obviously validating input shouldn't
> > inputform be renamed to form?
> >
> > @validate(form=..., validators=...)
>
> You're right... form is a lot more pleasant. "inputform" was a
> holdover from when you specified a form being output in expose...
>

One more thing, what about renaming

cherrypy.request.form_errors

to

cherrypy.request.validation_errors

This enforces the relationship with the validate decorator (that can
contain a form or validators) and with the upcoming new error handling
mechanism.

Ciao
Michele

Reply via email to