aboutsummaryrefslogtreecommitdiffstats
path: root/examples/requestexample/tests.py
diff options
context:
space:
mode:
authorJamie Matthews2012-02-07 11:08:55 +0000
committerJamie Matthews2012-02-07 11:08:55 +0000
commit76a7d35813b637bb199a0d388468f9265f8adaf2 (patch)
tree63df8c8d3ef40dd4ece7d4e5295c092181ad9373 /examples/requestexample/tests.py
parent6207791af1702ec4a80d689b39ca4e4d1c9d8157 (diff)
downloaddjango-rest-framework-76a7d35813b637bb199a0d388468f9265f8adaf2.tar.bz2
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.
Diffstat (limited to 'examples/requestexample/tests.py')
0 files changed, 0 insertions, 0 deletions