fnp
/
django-pagination.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9324fa0
)
Fixes issues related with #17
author
Mike TUMS
<mktums@gmail.com>
Wed, 9 Apr 2014 11:23:09 +0000
(15:23 +0400)
committer
Mike TUMS
<mktums@gmail.com>
Wed, 9 Apr 2014 11:23:09 +0000
(15:23 +0400)
linaro_django_pagination/templatetags/pagination_tags.py
patch
|
blob
|
history
diff --git
a/linaro_django_pagination/templatetags/pagination_tags.py
b/linaro_django_pagination/templatetags/pagination_tags.py
index
995edc3
..
45857f9
100644
(file)
--- 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()