Skip to content

Commit

Permalink
Update web_reference.rst (#2854)
Browse files Browse the repository at this point in the history
Fix typo in add_view calling add_route
  • Loading branch information
oohlaf authored and asvetlov committed Mar 20, 2018
1 parent a4fd8a7 commit 989093e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/web_reference.rst
Original file line number Diff line number Diff line change
@@ -1597,7 +1597,7 @@ Router is any object that implements :class:`AbstractRouter` interface.
.. method:: add_view(path, handler, **kwargs)

Shortcut for adding a class-based view handler. Calls the \
:meth:`add_routre` with ``method`` equals to ``'*'``.
:meth:`add_route` with ``method`` equals to ``'*'``.

.. versionadded:: 3.0

0 comments on commit 989093e

Please sign in to comment.