~netlandish/django-pagination

ff5e25c08cf359cc9b1601123d027022392df9c2 — Peter Sanchez 2 years ago 953d8e4 master
Updating pagination tag
1 files changed, 1 insertions(+), 1 deletions(-)

M pagination/templatetags/pagination_tags.py
M pagination/templatetags/pagination_tags.py => pagination/templatetags/pagination_tags.py +1 -1
@@ 89,7 89,7 @@ class AutoPaginateNode(template.Node):
        self.multiple_paginations = multiple_paginations

    def render(self, context):
        if self.multiple_paginations or 'paginator' in context:
        if self.multiple_paginations or context.get("paginator"):
            page_suffix = '_%s' % self.queryset_var
        else:
            page_suffix = ''