Revert "Oops, do not return new_context just yet, update and then return"
[django-pagination.git] / linaro_django_pagination / templatetags / pagination_tags.py
index a4e4fed..be22347 100644 (file)
@@ -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 = {}