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
def links(self):
"""Creates the pagination bar.
Args:
request (HttpRequest): The request
"""
"""Returns the navigation links of the pagination bar."""
if self._links is None:
base_url = UrlBuilder(self.current_url).del_param("page")
self._links = []