tomchristie/django-rest-framework — pull request #156 by j4mie (2012-02-07 11:12:05+00:00)
Title: Ensure duplicate "page" parameters are not created

Previously, URLObject.add_query_param was used to generate
next/previous page links in PaginatorMixin. This resulted
in (for example) page 2's "next" link having the params:

?page=2&page=3

Instead, URLObject.set_query_param should be used to replace
the current value of the "page" parameter.