From: Mike TUMS Date: Wed, 9 Apr 2014 11:23:09 +0000 (+0400) Subject: Fixes issues related with #17 X-Git-Tag: release-2.1~3^2 X-Git-Url: https://git.mdrn.pl/django-pagination.git/commitdiff_plain/a95afedb69b492d220da7bf2f584e9b00bd02a58?ds=sidebyside Fixes issues related with #17 --- 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()