Fixed the documentation of Pagination.
This commit is contained in:
parent
92867c3e97
commit
974d654750
@ -210,11 +210,7 @@ class Pagination:
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def links(self):
|
def links(self):
|
||||||
"""Creates the pagination bar.
|
"""Returns the navigation links of the pagination bar."""
|
||||||
|
|
||||||
Args:
|
|
||||||
request (HttpRequest): The request
|
|
||||||
"""
|
|
||||||
if self._links is None:
|
if self._links is None:
|
||||||
base_url = UrlBuilder(self.current_url).del_param("page")
|
base_url = UrlBuilder(self.current_url).del_param("page")
|
||||||
self._links = []
|
self._links = []
|
||||||
|
Loading…
Reference in New Issue
Block a user