views.generic.list.MultipleObjectMixin.paginate_queryset()

paginate_queryset(queryset, page_size)

Returns a 4-tuple containing (paginator, page, object_list, is_paginated).

Constructed by paginating queryset into pages of size page_size. If the request contains a page argument, either as a captured URL argument or as a GET argument, object_list will correspond to the objects from that page.

doc_Django
2016-10-09 18:41:13
Comments
Leave a Comment

Please login to continue.