From: Radek Czajka Date: Wed, 25 Oct 2023 13:11:28 +0000 (+0200) Subject: fix X-Git-Tag: 2.2.12~1 X-Git-Url: https://git.mdrn.pl/django-pagination.git/commitdiff_plain/c81cc0549c7ffa7240de4ac78d423e1185f003e7 fix --- diff --git a/fnp_django_pagination/templatetags/pagination_tags.py b/fnp_django_pagination/templatetags/pagination_tags.py index 5dd9319..ca51e40 100644 --- a/fnp_django_pagination/templatetags/pagination_tags.py +++ b/fnp_django_pagination/templatetags/pagination_tags.py @@ -195,7 +195,7 @@ class PaginateNode(Node): def render(self, context): template_list = ['pagination/pagination.html'] - new_context = paginate(context, window=self.window, margin=self.margin, ignored_vars=ignored_vars) + new_context = paginate(context, window=self.window, margin=self.margin, ignored_vars=self.ignored_vars) if self.template: template_list.insert(0, self.template) return loader.render_to_string(template_list, new_context)