aboutsummaryrefslogtreecommitdiffstats
path: root/djangorestframework/mixins.py
diff options
context:
space:
mode:
authorSébastien Piquemal2012-02-14 10:10:04 +0200
committerSébastien Piquemal2012-02-14 10:10:04 +0200
commitc04cb5145c4398cfac090ca7eef032296a04446f (patch)
treef556b30b0af21980d599bd716a82cfc997679a6f /djangorestframework/mixins.py
parent821844bb11e5262fb0dfc2fecf2add8fe18d3210 (diff)
parentba1e3b46998254e12578d75428669751e105735b (diff)
downloaddjango-rest-framework-c04cb5145c4398cfac090ca7eef032296a04446f.tar.bz2
merged with trunk
Diffstat (limited to 'djangorestframework/mixins.py')
-rw-r--r--djangorestframework/mixins.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/djangorestframework/mixins.py b/djangorestframework/mixins.py
index 43dce870..cf746839 100644
--- a/djangorestframework/mixins.py
+++ b/djangorestframework/mixins.py
@@ -499,7 +499,7 @@ class PaginatorMixin(object):
Constructs a url used for getting the next/previous urls
"""
url = URLObject.parse(self.request.get_full_path())
- url = url.add_query_param('page', page_number)
+ url = url.set_query_param('page', page_number)
limit = self.get_limit()
if limit != self.limit: