Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fixed typo in docs/quickstart #498

Merged
merged 1 commit into from

2 participants

@alekzvik

No description provided.

@kennethreitz
Collaborator

Thanks!

@kennethreitz kennethreitz merged commit ccc6816 into mitsuhiko:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 22, 2012
  1. @alekzvik

    Fixed typo in docs/quickstart

    alekzvik authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/quickstart.rst
View
2  docs/quickstart.rst
@@ -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
Something went wrong with that request. Please try again.