diff options
| author | Andrey Kaygorodov | 2014-02-05 05:47:27 +0800 | 
|---|---|---|
| committer | Andrey Kaygorodov | 2014-02-05 05:47:27 +0800 | 
| commit | d48ba1cff76ffceb1d700e9e0c6ccf518a6382da (patch) | |
| tree | af783dc7441b19e6bc919601122b4f1772e6939e /docs/api-guide/pagination.md | |
| parent | 74fc6d8f49a180c04229f002d3a3eb44fe8b1cab (diff) | |
| download | django-rest-framework-d48ba1cff76ffceb1d700e9e0c6ccf518a6382da.tar.bz2 | |
turn of pagination
Diffstat (limited to 'docs/api-guide/pagination.md')
| -rw-r--r-- | docs/api-guide/pagination.md | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/docs/api-guide/pagination.md b/docs/api-guide/pagination.md index 0829589f..f86e6ce1 100644 --- a/docs/api-guide/pagination.md +++ b/docs/api-guide/pagination.md @@ -102,7 +102,7 @@ You can also set the pagination style on a per-view basis, using the `ListAPIVie          paginate_by_param = 'page_size'          max_paginate_by = 100 -Note that using a `paginate_by` value of `None` will turn off pagination for the view. +Note that using a `paginate_by` value of `None` will turn off pagination for the view. But if you specified `PAGINATE_BY` and `PAGINATE_BY_PARAM` in your settings file then you have to set both `paginate_by` and `paginate_by_param` to a `None` value in order to turn off pagination for the view.  For more complex requirements such as serialization that differs depending on the requested media type you can override the `.get_paginate_by()` and `.get_pagination_serializer_class()` methods. | 
