On Oct 27, 5:43 pm, VP <[email protected]> wrote:
> I saw this marriage between web2py and Flask (a strange one, I'll give
> you that)... but I'm thinking web2py might be able to improve its
> syntax/convention as follows.
>
> Here's Flask:
>
> @app.route('/insertdog/<name>/<age>/<owner>')
> def insertdog(name,owner,age):
>      # other things
>
> Here's web2py:

def insertdog():
   name, owner, age = request.args

I am unconvinced the other way is better.

Reply via email to