I use this for helper functions. On Fri, Feb 18, 2011 at 11:03 PM, VP <[email protected]> wrote:
> This is an interesting idea. I am wondering if by doing this, we
> can:
>
> + treat controllers as regular Python functions, which have
> parameters.
> + implement some type of automatic type checking on request.args (e.g.
> for int or string)
> + simplify redirect. For example, instead of redirect(URL('edit',
> args=id)), simply call edit(id)
>
> ???

