Betwenn the two process seems the best:

@process(form=..., validators=...)

Validate could be confusing since you will end up with something like:

@validate(validators=...)

Ciao
Michele

Kevin Dangoor wrote:
> Hi,
>
> I'm working on the expose decorator split that's been talked about for
> a while now. The idea, for those who weren't here for the initial
> discussions, is to make it easier to use other decorators besides
> expose if your app needs to. (This is currently difficult because of
> how many functions are built in to expose.)
>
> The proposed change was to have two decorators: one for input and one
> for output. The "expose" decorator would continue to handle all output
> funtions. Sean Cazzell's original suggestion for the input decorator
> was "unpack". Jason Pellerin mentioned "input" the other day. I'm not
> fond of unpack and input, while nicer than unpack, is a Python builtin
> which seems like a bad idea.
>
> What do you think of "process" (it has inputform and validators
> parameters)? It's rather generic, but it is all about processing the
> input. Or maybe "validate"?
>
> Kevin
>
> --
> Kevin Dangoor
> Author of the Zesty News RSS newsreader
>
> email: [EMAIL PROTECTED]
> company: http://www.BlazingThings.com
> blog: http://www.BlueSkyOnMars.com

Reply via email to