Skip to content
This repository has been archived by the owner on Jun 5, 2018. It is now read-only.

Commit

Permalink
Revert "Oops, do not return new_context just yet, update and then ret…
Browse files Browse the repository at this point in the history
…urn"

This reverts commit 73848ab.
  • Loading branch information
Markus Törnqvist committed Jun 26, 2013
1 parent f98500a commit ee4a0ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions linaro_django_pagination/templatetags/pagination_tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,7 @@ def paginate(context, window=DEFAULT_WINDOW, margin=DEFAULT_MARGIN):
new_context['getvars'] = "&%s" % getvars.urlencode()
else:
new_context['getvars'] = ''
return new_context
except (KeyError, AttributeError):
new_context = {}

Expand Down

0 comments on commit ee4a0ff

Please sign in to comment.