1. Armin Ronacher
  2. flask


Armin Ronacher  committed 1b585dc

Fixed typo in flask quickstart docs. This fixes #21

  • Participants
  • Parent commits 5fb49bc
  • Branches default

Comments (0)

Files changed (1)

File docs/quickstart.rst

View file
  • Ignore whitespace
 :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':