Doc'd a precise exception type in Paginator.page() docs.
This commit is contained in:
parent
14c8504a37
commit
30d8932753
|
@ -75,7 +75,7 @@ Methods
|
|||
|
||||
Returns a :class:`Page` object with the given 1-based index. Raises
|
||||
:exc:`PageNotAnInteger` if the ``number`` cannot be converted to an integer
|
||||
by calling ``int()``. Raises :exc:`InvalidPage` if the given page number
|
||||
by calling ``int()``. Raises :exc:`EmptyPage` if the given page number
|
||||
doesn't exist.
|
||||
|
||||
.. method:: Paginator.get_elided_page_range(number, *, on_each_side=3, on_ends=2)
|
||||
|
|
Loading…
Reference in New Issue