Added the exception to the documentation of the constructor of the Pagination utility.
This commit is contained in:
parent
8c462e7b2c
commit
62697fb782
@ -75,6 +75,7 @@ class Pagination(t.Generic[T]):
|
|||||||
:param items: The items.
|
:param items: The items.
|
||||||
:param is_reversed: True if the default page is the last page, or False
|
:param is_reversed: True if the default page is the last page, or False
|
||||||
otherwise.
|
otherwise.
|
||||||
|
:raise Redirection: When the pagination parameters are malformed.
|
||||||
"""
|
"""
|
||||||
self.__current_uri: str = request.full_path if request.query_string \
|
self.__current_uri: str = request.full_path if request.query_string \
|
||||||
else request.path
|
else request.path
|
||||||
|
Loading…
Reference in New Issue
Block a user