From 31493850de3d7765d09419aa49b98089f79da3c2 Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Sun, 2 May 2010 11:32:14 +0200 Subject: [PATCH] Fixed typo in flask quickstart docs. This fixes #21 --- docs/quickstart.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/quickstart.rst b/docs/quickstart.rst index 6d641d26..4be9a63f 100644 --- a/docs/quickstart.rst +++ b/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':