Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

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

@rcackerman rcackerman referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
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.