Improving description of potential parameters

This commit is contained in:
Juan Cruz-Benito
2020-02-26 10:40:44 +01:00
parent 18205fbf4a
commit f49cc1fcf0

View File

@@ -619,13 +619,13 @@ class Pagination(BaseHandler):
) )
def __init__(self, *args, **kwargs): def __init__(self, *args, **kwargs):
"""Detail parameters remark. """Potential parameters.
**url**: current request url **url**: URL in request
**page**: current page **page**: current page in use
**per_page**: how many records displayed on one page. By default 100 **per_page**: number of records to display in the page. By default 100
**total**: total records for pagination **total**: total records considered while paginating
**display_msg**: text for pagation information **display_msg**: informative text for pagination
**record_name**: record name showed in pagination information **record_name**: name of the record, showed in pagination info
""" """
self.page = kwargs.get(self._page_name, 1) self.page = kwargs.get(self._page_name, 1)