scipost.paginator module

class scipost.paginator.SciPostPaginator(object_list, per_page, orphans=0, allow_empty_first_page=True)[source]

Bases: django.core.paginator.Paginator

class scipost.paginator.SciPostPage(object_list, number, paginator)[source]

Bases: django.core.paginator.Page

pages()[source]

Custom pages set that tweaks the range of pages to be shown in the paginator.