aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlton Gibson2014-04-07 19:35:08 +0200
committerCarlton Gibson2014-04-07 19:35:08 +0200
commit60ac3d7a76c4132d97d7e8047e25be253018280e (patch)
treedb265a3fe19277c0ed9b138254007f4a02322ba7
parent115fe04842b58226b9fa29069b95af7df62b046a (diff)
parente45e52a255c0dfbecfc5048697534ffbe0e2648e (diff)
downloaddjango-rest-framework-60ac3d7a76c4132d97d7e8047e25be253018280e.tar.bz2
Merge pull request #1510 from uploadcare/docs-page-vs-page-limit
replace page with page_size to avoide confusion
-rw-r--r--docs/topics/release-notes.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/topics/release-notes.md b/docs/topics/release-notes.md
index 0010f687..2bc8b2d6 100644
--- a/docs/topics/release-notes.md
+++ b/docs/topics/release-notes.md
@@ -112,11 +112,11 @@ You can determine your currently installed version using `pip freeze`:
* Bugfix: `client.force_authenticate(None)` should also clear session info if it exists.
* Bugfix: Client sending empty string instead of file now clears `FileField`.
* Bugfix: Empty values on ChoiceFields with `required=False` now consistently return `None`.
-* Bugfix: Clients setting `page=0` now simply returns the default page size, instead of disabling pagination. [*]
+* Bugfix: Clients setting `page_size=0` now simply returns the default page size, instead of disabling pagination. [*]
---
-[*] Note that the change in `page=0` behaviour fixes what is considered to be a bug in how clients can effect the pagination size. However if you were relying on this behavior you will need to add the following mixin to your list views in order to preserve the existing behavior.
+[*] Note that the change in `page_size=0` behaviour fixes what is considered to be a bug in how clients can effect the pagination size. However if you were relying on this behavior you will need to add the following mixin to your list views in order to preserve the existing behavior.
class DisablePaginationMixin(object):
def get_paginate_by(self, queryset=None):