forked from orbit-oss/flask
Fixed typo in flask quickstart docs. This fixes #21
This commit is contained in:
parent
36717b0273
commit
31493850de
1 changed files with 1 additions and 1 deletions
|
|
@ -452,7 +452,7 @@ transmitted in a `POST` or `PUT` request) you can use the
|
|||
:attr:`~flask.request.form` attribute. Here a full example of the two
|
||||
attributes mentioned above::
|
||||
|
||||
@app.route('/login', method=['POST', 'GET'])
|
||||
@app.route('/login', methods=['POST', 'GET'])
|
||||
def login():
|
||||
error = None
|
||||
if request.method == 'POST':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue