Browse Source

Fixed typo in flask quickstart docs. This fixes #21

pull/1638/head
Armin Ronacher 15 years ago
parent
commit
31493850de
  1. 2
      docs/quickstart.rst

2
docs/quickstart.rst

@ -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…
Cancel
Save