Fixed the documentation of Pagination.

This commit is contained in:
依瑪貓 2020-07-07 22:52:00 +08:00
parent 92867c3e97
commit 974d654750

View File

@ -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 = []