Skip to content

Commit

Permalink
Merge pull request pallets#498 from alekzvik/master
Browse files Browse the repository at this point in the history
Fixed typo in docs/quickstart
  • Loading branch information
Kenneth Reitz committed Apr 22, 2012
2 parents 8c8c524 + 028229d commit ccc6816
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ deal with that problem.
To access parameters submitted in the URL (``?key=value``) you can use the
:attr:`~flask.request.args` attribute::

searchword = request.args.get('q', '')
searchword = request.args.get('key', '')

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

0 comments on commit ccc6816

Please sign in to comment.