Skip to content

Commit

Permalink
Merge pull request #392 from gleb-chipiga/patch-1
Browse files Browse the repository at this point in the history
Update reverse route docs in web.rst
  • Loading branch information
asvetlov committed Jun 4, 2015
2 parents 577f900 + 4658124 commit ff3dec4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/web.rst
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,10 @@ router<aiohttp-web-variable-handler>`::
variable_handler, name='handler')


In this case you can pass route parameters also::
In this case you can pass route parts also::

>>> request.app.router['handler'].url(
... params={'user': 'john_doe'},
... parts={'user': 'john_doe'},
... query="?a=b")
'/john_doe/info?a=b'

Expand Down

0 comments on commit ff3dec4

Please sign in to comment.