Skip to content

Loading…

Typo in flask quickstart docs #21

Closed
specnazzz opened this Issue · 1 comment

2 participants

@specnazzz

In section 'The Request Object' is a typo when doing route definition.
...
@app.route('/login', method=['POST', 'GET'])
def login():
...

the keyword argument should be 'methods' not 'method'.

@mitsuhiko
Owner

Fixed typo in flask quickstart docs. This closed by 3149385

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.