Skip to content
Myr

Fixed typo in flask quickstart docs. This fixes #21

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Armin Ronacher · committed by Armin Ronacher · parent 36717b0 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/quickstart.rst+1 added-1 removed
450 unmodified lines
451transmitted in a `POST` or `PUT` request) you can use the452:attr:`~flask.request.form` attribute. Here a full example of the two453attributes mentioned above::454455 @app.route('/login', method=['POST', 'GET'])455 @app.route('/login', methods=['POST', 'GET'])456 def login():457 error = None458 if request.method == 'POST':459 if valid_login(request.form['username'],
177 unmodified lines