Module TryExcept body Expr NameLoad handlers ExceptHandler type NameLoad body ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Str Num Assign NameStore Call NameLoad NameLoad Str Num Assign NameStore Call NameLoad NameLoad Str Num Assign NameStore Call NameLoad NameLoad Str NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Lambda arguments args NameParam defaults BoolOpAnd CompareEq AttributeLoad NameLoad attr NameLoad CompareGt Call NameLoad Call AttributeLoad NameLoad attr Num CompareEq SubscriptLoad Call AttributeLoad NameLoad attr Index Num Str Assign NameStore CompareGt Call NameLoad Call NameLoad NameLoad AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore NameLoad Assign NameStore NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body If CompareEq NameLoad Str body Assign NameStore NameLoad Break If CompareIsNot NameLoad NameLoad body TryExcept body Assign NameStore SubscriptLoad NameLoad Index BinOpAdd NameLoad Num handlers ExceptHandler type NameLoad body Raise Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd Str Str BinOpMod Str SubscriptLoad NameLoad Index Num Delete SubscriptDel NameLoad Slice NameLoad BinOpAdd NameLoad Num If CompareEq Call NameLoad NameLoad Num body Return Call NameLoad SubscriptLoad NameLoad Index Num keyword NameLoad orelse If CompareEq Call NameLoad NameLoad Num body Return Call NameLoad SubscriptLoad NameLoad Index Num keyword SubscriptLoad NameLoad Index Num keyword NameLoad keyword NameLoad orelse If CompareEq Call NameLoad NameLoad Num body TryExcept body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num handlers ExceptHandler type NameLoad body Raise Call AttributeLoad NameLoad attr BinOpMod Str SubscriptLoad NameLoad Index Num Return Call NameLoad SubscriptLoad NameLoad Index Num keyword SubscriptLoad NameLoad Index Num keyword NameLoad keyword NameLoad keyword NameLoad orelse Raise Call AttributeLoad NameLoad attr BinOpAdd Str BinOpMod Str SubscriptLoad NameLoad Index Num decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad If Call NameLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If BoolOpOr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str body Assign NameStore BinOpMod Str AttributeLoad NameLoad attr orelse Assign NameStore Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If Call NameLoad AttributeLoad NameLoad attr NameLoad body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Str attr NameLoad handlers ExceptHandler type NameLoad body If NameLoad body Raise Call NameLoad BinOpAdd Str Str Assign SubscriptStore NameLoad Index NameLoad ListLoad Assign SubscriptStore NameLoad Index Str NameLoad Return Str If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assign SubscriptStore NameLoad Index NameLoad AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Return Str decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad Str body Expr Str TryExcept body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore Dict Str BinOpAdd Num BinOpMult BinOpSub AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str BinOpSub BinOpAdd SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr Num If CompareGtE BinOpAdd SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign NameStore Call NameLoad SubscriptLoad NameLoad Slice NameLoad Assign NameStore Call NameLoad SubscriptLoad NameLoad Slice UnaryOpUSub NameLoad Assign NameStore BinOpSub BinOpSub AttributeLoad NameLoad attr Num NameLoad If CompareLt NameLoad Num body Assign NameStore Num Assign NameStore BinOpAdd BinOpSub AttributeLoad NameLoad attr Num NameLoad If CompareLt NameLoad Num body Assign NameStore Num Assign NameStore Call NameLoad SubscriptLoad NameLoad Slice NameLoad NameLoad Assign NameStore ListLoad If CompareEq Call NameLoad Call AttributeLoad NameLoad attr NameLoad Num body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpSub SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num If CompareEq NameLoad Num body Expr Call AttributeLoad NameLoad attr BinOpSub SubscriptLoad NameLoad Index Num Num orelse If CompareEq NameLoad Num body Pass orelse Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad If CompareEq Call NameLoad Call AttributeLoad NameLoad attr NameLoad Num body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore BinOpSub SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num If CompareEq NameLoad Num body Expr Call AttributeLoad NameLoad attr BinOpSub SubscriptLoad NameLoad Index Num Num orelse If CompareEq NameLoad Num body Pass orelse Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Dict Str Str Str Str Str Str Str Str Str AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad NameLoad NameLoad NameLoad NameLoad CompareGt AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad If CompareIn Str NameLoad body Assign NameStore Call AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Str attr attr If CompareIn BinOpMod Str NameLoad NameLoad body Delete SubscriptDel NameLoad Index BinOpMod Str NameLoad If CompareGt Call NameLoad Call AttributeLoad NameLoad attr Num body Assign SubscriptStore NameLoad Index Str BinOpMod Str Call AttributeLoad NameLoad attr orelse Assign SubscriptStore NameLoad Index Str Str Return NameLoad handlers ExceptHandler type NameLoad name NameStore body Return Dict decorator_list Expr Call Call AttributeLoad NameLoad attr Str keyword NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad
N/A N/A N/A N/A set N/A N/A N/A NameError N/A sets Set set django template django.template.base TOKEN_BLOCK django.http Http404 django.core.paginator Paginator InvalidPage django.conf settings N/A register N/A N/A template Library N/A DEFAULT_PAGINATION N/A getattr settings PAGINATION_DEFAULT_PAGINATION 20 N/A DEFAULT_WINDOW N/A getattr settings PAGINATION_DEFAULT_WINDOW 4 N/A DEFAULT_ORPHANS N/A getattr settings PAGINATION_DEFAULT_ORPHANS 0 N/A INVALID_PAGE_RAISES_404 N/A getattr settings PAGINATION_INVALID_PAGE_RAISES_404 False do_autopaginate N/A N/A parser token N/A N/A N/A 
    Splits the arguments to the autopaginate tag and formats them correctly.
     N/A expr N/A N/A N/A obj N/A N/A N/A N/A obj token_type TOKEN_BLOCK N/A N/A len N/A N/A obj split_contents 0 N/A N/A N/A N/A obj split_contents N/A 0 autopaginate N/A multiple_paginations N/A N/A len N/A filter expr N/A parser tokens 0 N/A split N/A N/A token split_contents N/A as_index None N/A context_var None N/A N/A i bit N/A enumerate split N/A N/A N/A bit as N/A N/A as_index i N/A N/A N/A as_index None N/A N/A N/A N/A context_var N/A split N/A N/A as_index 1 N/A N/A N/A IndexError N/A N/A N/A N/A template TemplateSyntaxError N/A N/A Context variable assignment  must take the form of {%% %r object.example_set.all ... as  N/A context_var_name %%} N/A split N/A 0 N/A N/A split N/A as_index N/A as_index 2 N/A N/A N/A len split 2 N/A N/A N/A AutoPaginateNode N/A split N/A 1 multiple_paginations multiple_paginations N/A N/A N/A N/A len split 3 N/A N/A N/A AutoPaginateNode N/A split N/A 1 paginate_by N/A split N/A 2 context_var context_var multiple_paginations multiple_paginations N/A N/A N/A N/A len split 4 N/A N/A N/A N/A orphans N/A int N/A split N/A 3 N/A N/A N/A ValueError N/A N/A N/A N/A template TemplateSyntaxError N/A Got %s, but expected integer. N/A split N/A 3 N/A N/A AutoPaginateNode N/A split N/A 1 paginate_by N/A split N/A 2 orphans orphans context_var context_var multiple_paginations multiple_paginations N/A N/A N/A N/A template TemplateSyntaxError N/A %r tag takes one required  N/A argument and one optional argument N/A split N/A 0 N/A AutoPaginateNode N/A N/A template Node N/A N/A 
    Emits the required objects to allow for Digg-style pagination.
    
    First, it looks in the current context for the variable specified, and using
    that object, it emits a simple ``Paginator`` and the current page object 
    into the context names ``paginator`` and ``page_obj``, respectively.
    
    It will then replace the variable specified with only the objects for the
    current page.
    
    .. note::
        
        It is recommended to use *{% paginate %}* after using the autopaginate
        tag.  If you choose not to use *{% paginate %}*, make sure to display the
        list of available pages, or else the application may seem to be buggy.
     __init__ N/A N/A self queryset_var multiple_paginations paginate_by orphans context_var N/A DEFAULT_PAGINATION DEFAULT_ORPHANS None N/A N/A N/A self queryset_var N/A N/A template Variable queryset_var N/A N/A isinstance paginate_by int N/A N/A N/A self paginate_by paginate_by N/A N/A N/A self paginate_by N/A N/A template Variable paginate_by N/A N/A self orphans orphans N/A N/A self context_var context_var N/A N/A self multiple_paginations multiple_paginations N/A render N/A N/A self context N/A N/A N/A N/A N/A self multiple_paginations N/A N/A context has_key paginator N/A N/A page_suffix N/A _%s N/A self queryset_var N/A N/A page_suffix N/A key N/A N/A self queryset_var var N/A value N/A N/A N/A self queryset_var resolve context N/A N/A isinstance N/A self paginate_by int N/A N/A paginate_by N/A self paginate_by N/A N/A paginate_by N/A N/A N/A self paginate_by resolve context N/A paginator N/A Paginator value paginate_by N/A self orphans N/A N/A N/A page_obj N/A N/A paginator page N/A N/A N/A context N/A request page page_suffix N/A N/A N/A InvalidPage N/A N/A INVALID_PAGE_RAISES_404 N/A N/A N/A Http404 N/A Invalid page requested.  If DEBUG were set to  False, an HTTP 404 page would have been shown instead. N/A N/A context N/A key N/A N/A N/A context N/A invalid_page True N/A N/A N/A N/A self context_var None N/A N/A N/A context N/A N/A self context_var N/A page_obj object_list N/A N/A N/A context N/A key N/A page_obj object_list N/A N/A context N/A paginator paginator N/A N/A context N/A page_obj page_obj N/A N/A context N/A page_suffix page_suffix N/A N/A N/A paginate N/A N/A context window hashtag N/A DEFAULT_WINDOW N/A N/A 
    Renders the ``pagination/pagination.html`` template, resulting in a
    Digg-like display of the available pages, given the current page.  If there
    are too many pages to be displayed before and after the current page, then
    elipses will be used to indicate the undisplayed gap between page numbers.
    
    Requires one argument, ``context``, which should be a dictionary-like data
    structure and must contain the following keys:
    
    ``paginator``
        A ``Paginator`` or ``QuerySetPaginator`` object.
    
    ``page_obj``
        This should be the result of calling the page method on the 
        aforementioned ``Paginator`` or ``QuerySetPaginator`` object, given
        the current page.
    
    This same ``context`` dictionary-like data structure may also include:
    
    ``getvars``
        A dictionary of all of the **GET** parameters in the current request.
        This is useful to maintain certain types of state, even when requesting
        a different page.
         N/A N/A N/A paginator N/A context N/A paginator N/A page_obj N/A context N/A page_obj N/A page_suffix N/A N/A context get page_suffix N/A page_range N/A paginator page_range N/A records N/A first N/A 1 N/A N/A N/A page_obj number 1 N/A paginator per_page N/A N/A records N/A last N/A N/A N/A records N/A first N/A paginator per_page 1 N/A N/A N/A N/A records N/A last N/A paginator orphans N/A paginator count N/A N/A N/A records N/A last N/A paginator count N/A first N/A set N/A page_range N/A window N/A last N/A set N/A page_range N/A N/A window N/A current_start N/A N/A N/A page_obj number 1 window N/A N/A current_start 0 N/A N/A current_start 0 N/A current_end N/A N/A N/A page_obj number 1 window N/A N/A current_end 0 N/A N/A current_end 0 N/A current N/A set N/A page_range N/A current_start current_end N/A pages N/A N/A N/A N/A len N/A N/A first intersection current 0 N/A N/A first_list N/A list first N/A N/A N/A first_list sort N/A second_list N/A list current N/A N/A N/A second_list sort N/A N/A N/A pages extend first_list N/A diff N/A N/A second_list N/A 0 N/A first_list N/A -1 N/A N/A diff 2 N/A N/A N/A N/A pages append N/A N/A second_list N/A 0 1 N/A N/A N/A diff 1 N/A N/A N/A N/A N/A N/A pages append None N/A N/A N/A pages extend second_list N/A N/A unioned N/A list N/A N/A first union current N/A N/A N/A unioned sort N/A N/A N/A pages extend unioned N/A N/A N/A len N/A N/A current intersection last 0 N/A N/A second_list N/A list last N/A N/A N/A second_list sort N/A diff N/A N/A second_list N/A 0 N/A pages N/A -1 N/A N/A diff 2 N/A N/A N/A N/A pages append N/A N/A second_list N/A 0 1 N/A N/A N/A diff 1 N/A N/A N/A N/A N/A N/A pages append None N/A N/A N/A pages extend second_list N/A N/A differenced N/A list N/A N/A last difference current N/A N/A N/A differenced sort N/A N/A N/A pages extend differenced N/A to_return N/A MEDIA_URL request pages records page_obj paginator hashtag is_paginated page_suffix N/A settings MEDIA_URL N/A context N/A request pages records page_obj paginator hashtag N/A N/A paginator count N/A paginator per_page page_suffix N/A N/A request context N/A N/A getvars N/A N/A N/A N/A context N/A request GET copy N/A N/A N/A page%s page_suffix getvars N/A N/A N/A getvars N/A N/A page%s page_suffix N/A N/A N/A len N/A N/A getvars keys 0 N/A N/A N/A to_return N/A getvars N/A &%s N/A N/A getvars urlencode N/A N/A N/A to_return N/A getvars N/A to_return N/A N/A N/A KeyError N/A AttributeError N/A N/A N/A N/A N/A N/A N/A N/A register inclusion_tag pagination/pagination.html takes_context True paginate N/A N/A N/A register tag autopaginate do_autopaginate