django-rest-framework/djangorestframework
Jamie Matthews 76a7d35813 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.
2012-02-07 11:08:55 +00:00
..
runtests Update test settings for 1.2 2012-02-01 20:24:45 +00:00
static Fix up packaging and staticfiles changes. Fixes #155. Fixes #153. Fixes #150. 2012-02-07 08:58:15 +00:00
templates Fix up packaging and staticfiles changes. Fixes #155. Fixes #153. Fixes #150. 2012-02-07 08:58:15 +00:00
templatetags Parse url when adding query param. 2012-01-24 18:13:01 +00:00
tests Ensure duplicate "page" parameters are not created 2012-02-07 11:08:55 +00:00
utils Refactored get_name()/get_description() 2012-01-23 13:32:37 -05:00
__init__.py Fix silly error. This makes more sense. 2012-01-28 15:27:06 +01:00
authentication.py Fix UserLoggedInAuthentication for POST requests. 2012-01-24 19:26:37 +00:00
compat.py Don't raise when in compat mode, just pass. 2012-01-04 13:55:37 +01:00
mixins.py Ensure duplicate "page" parameters are not created 2012-02-07 11:08:55 +00:00
models.py Revert unwanted checkin of models.py 2011-03-03 09:05:27 +00:00
parsers.py pep8/pyflakes cleanup 2012-01-21 18:33:34 +00:00
permissions.py Refs #148 2012-01-30 15:54:38 +00:00
renderers.py Reverted formatting 2012-01-24 14:11:10 -05:00
resources.py pep8/pyflakes cleanup 2012-01-21 18:33:34 +00:00
response.py Python docs say inherit from Exception, not BaseException. 2012-02-02 09:05:28 +00:00
serializer.py pep8/pyflakes cleanup 2012-01-21 18:33:34 +00:00
status.py Drop redundant comment. 2012-01-24 17:53:54 +00:00
urls.py whitespace fixes 2011-12-29 13:31:12 +00:00
views.py Tidy up auto-escaping. 2012-01-28 14:38:11 +00:00