Module ImportFrom alias alias alias alias alias Assign NameStore TupleLoad Str Str Str Str Str ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults Num body TryExcept body Assign NameStore Call NameLoad NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad name NameStore body Raise NameLoad NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Return Dict Str NameLoad If CompareGt NameLoad Num body Assign NameStore BinOpSub NameLoad NameLoad orelse Assign NameStore Num If CompareLt NameLoad BinOpSub AttributeLoad NameLoad attr NameLoad body Assign NameStore BinOpAdd BinOpAdd NameLoad NameLoad Num orelse Assign NameStore BinOpAdd AttributeLoad NameLoad attr Num Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad CompareGt AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr IfExp Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad IfExp Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad CompareEq NameLoad Num CompareEq NameLoad AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr CompareLt AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Assign NameStore Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad Str Assign NameStore BinOpMult BinOpSub NameLoad Num AttributeLoad NameLoad attr Assign NameStore BinOpAdd BinOpAdd NameLoad AttributeLoad NameLoad attr Num TryExcept body Assign NameStore Call NameLoad Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Slice NameLoad NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Assign NameStore BinOpSub NameLoad Num Assign NameStore Call NameLoad Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Slice NameLoad NameLoad NameLoad NameLoad If UnaryOpNot AttributeLoad NameLoad attr body If BoolOpAnd CompareEq NameLoad Num AttributeLoad NameLoad attr body Pass orelse Raise Call NameLoad Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad name NameStore body Return Dict Str NameLoad Assign NameStore Dict Str Str Str Str Str Str Str Str Str AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr IfExp Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad IfExp Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad CompareEq NameLoad Num BoolOpOr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr UnaryOpNot Call AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list
N/A django.core.paginator Paginator InvalidPage Page PageNotAnInteger EmptyPage N/A __all__ N/A BetterPaginator InvalidPage PageNotAnInteger EmptyPage EndlessPaginator BetterPaginator N/A Paginator N/A N/A 
    An enhanced version of the QuerySetPaginator.
    
    >>> my_objects = BetterPaginator(queryset, 25)
    >>> page = 1
    >>> context = {
    >>>     'my_objects': my_objects.get_context(page),
    >>> }
     get_context N/A N/A self page range_gap N/A 5 N/A N/A N/A N/A page N/A int page N/A N/A N/A N/A ValueError TypeError N/A exc N/A N/A InvalidPage exc N/A N/A N/A paginator N/A N/A self page page N/A N/A N/A EmptyPage N/A N/A N/A EMPTY_PAGE True N/A N/A page 5 N/A N/A start N/A page range_gap N/A N/A start 1 N/A N/A page N/A N/A self num_pages range_gap N/A N/A end N/A N/A page range_gap 1 N/A N/A end N/A N/A self num_pages 1 N/A context N/A page_range objects num_pages page has_pages has_previous has_next previous_page next_page is_first is_last N/A range start end N/A paginator object_list N/A self num_pages page N/A N/A self num_pages 1 N/A N/A paginator has_previous N/A N/A paginator has_next N/A N/A N/A paginator has_previous N/A N/A paginator previous_page_number None N/A N/A N/A paginator has_next N/A N/A paginator next_page_number None N/A page 1 N/A page N/A self num_pages N/A context N/A N/A EndlessPage N/A Page N/A __init__ N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A super EndlessPage self __init__ args kwargs N/A N/A self _has_next N/A N/A N/A self paginator per_page N/A len N/A self object_list N/A N/A self object_list N/A N/A self object_list N/A N/A N/A self paginator per_page N/A has_next N/A N/A self N/A N/A N/A N/A self _has_next N/A N/A EndlessPaginator N/A BetterPaginator N/A page N/A N/A self number N/A N/A N/A Returns a Page object for the given 1-based page number. N/A N/A N/A number N/A int number N/A N/A N/A ValueError N/A N/A N/A PageNotAnInteger That page number is not an integer N/A bottom N/A N/A number 1 N/A self per_page N/A top N/A N/A bottom N/A self per_page 5 N/A N/A N/A _page N/A EndlessPage N/A list N/A N/A self object_list N/A bottom top number self N/A N/A N/A AssertionError N/A N/A top N/A top 5 N/A _page N/A EndlessPage N/A list N/A N/A self object_list N/A bottom top number self N/A N/A N/A _page object_list N/A N/A N/A N/A number 1 N/A self allow_empty_first_page N/A N/A N/A N/A N/A EmptyPage That page contains no results N/A _page N/A get_context N/A N/A self page N/A N/A N/A N/A N/A paginator N/A N/A self page page N/A N/A N/A N/A PageNotAnInteger EmptyPage N/A exc N/A N/A N/A EMPTY_PAGE True N/A context N/A objects page has_previous has_next previous_page next_page is_first has_pages is_last N/A paginator object_list page N/A N/A paginator has_previous N/A N/A paginator has_next N/A N/A N/A paginator has_previous N/A N/A paginator previous_page_number None N/A N/A N/A paginator has_next N/A N/A paginator next_page_number None N/A page 1 N/A N/A N/A paginator has_next N/A N/A paginator has_previous N/A N/A N/A paginator has_next N/A context N/A N/A