~netlandish/django-pagination

a484654e1775241d2a3ccac0b1afb01753be5d09 — Gustavo Andres Morero 6 years ago c79bdac
updating template tag for py3 support.
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
@@ 88,7 88,7 @@ class AutoPaginateNode(template.Node):
        self.multiple_paginations = multiple_paginations

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