Skip to content

Commit

Permalink
Fixed typo in docs/quickstart
Browse files Browse the repository at this point in the history
  • Loading branch information
alekzvik committed Apr 22, 2012
1 parent 8c8c524 commit 028229d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/quickstart.rst
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 028229d

Please sign in to comment.