From: Zygmunt Krynicki Date: Wed, 9 Apr 2014 11:39:28 +0000 (+0200) Subject: Merge pull request #24 from mktums/patch-1 X-Git-Tag: release-2.1~3 X-Git-Url: https://git.mdrn.pl/django-pagination.git/commitdiff_plain/664fcc7c0f5ec9a54c15707a20d5da24b03f9bf9?hp=9324fa053ab97e87a4b3122daf785d0c607313e7 Merge pull request #24 from mktums/patch-1 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()