From c81cc0549c7ffa7240de4ac78d423e1185f003e7 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Wed, 25 Oct 2023 15:11:28 +0200 Subject: [PATCH 1/1] fix --- fnp_django_pagination/templatetags/pagination_tags.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.20.1