Skip to content

Commit ccc6816

Browse files
author
Kenneth Reitz
committed
Merge pull request pallets#498 from alekzvik/master
Fixed typo in docs/quickstart
2 parents 8c8c524 + 028229d commit ccc6816

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/quickstart.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ deal with that problem.
526526
To access parameters submitted in the URL (``?key=value``) you can use the
527527
:attr:`~flask.request.args` attribute::
528528

529-
searchword = request.args.get('q', '')
529+
searchword = request.args.get('key', '')
530530

531531
We recommend accessing URL parameters with `get` or by catching the
532532
`KeyError` because users might change the URL and presenting them a 400

0 commit comments

Comments
 (0)