From a95afedb69b492d220da7bf2f584e9b00bd02a58 Mon Sep 17 00:00:00 2001 From: Mike TUMS Date: Wed, 9 Apr 2014 15:23:09 +0400 Subject: [PATCH 1/1] Fixes issues related with #17 --- linaro_django_pagination/templatetags/pagination_tags.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/linaro_django_pagination/templatetags/pagination_tags.py b/linaro_django_pagination/templatetags/pagination_tags.py index 995edc3..45857f9 100644 --- a/linaro_django_pagination/templatetags/pagination_tags.py +++ b/linaro_django_pagination/templatetags/pagination_tags.py @@ -329,9 +329,7 @@ def paginate(context, window=DEFAULT_WINDOW, margin=DEFAULT_MARGIN): new_context['getvars'] = '' return new_context except (KeyError, AttributeError): - pass - - return context + return {} register = Library() -- 2.20.1