Fixed typo in flask quickstart docs. This fixes #21

This commit is contained in:
Armin Ronacher 2010-05-02 11:32:14 +02:00
parent 36717b0273
commit 31493850de

View file

@ -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':