mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-29 21:14:01 +03:00
Prominent notes on deprecation status of pagination settings. Closes #3173.
This commit is contained in:
parent
7b21336872
commit
f9c61e8090
|
@ -119,6 +119,14 @@ Default: `None`
|
||||||
|
|
||||||
#### PAGINATE_BY_PARAM
|
#### PAGINATE_BY_PARAM
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
**This setting is pending deprecation.**
|
||||||
|
|
||||||
|
See the pagination documentation for further guidance on [setting the pagination style](pagination.md#modifying-the-pagination-style).
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
The name of a query parameter, which can be used by the client to override the default page size to use for pagination. If set to `None`, clients may not override the default page size.
|
The name of a query parameter, which can be used by the client to override the default page size to use for pagination. If set to `None`, clients may not override the default page size.
|
||||||
|
|
||||||
For example, given the following settings:
|
For example, given the following settings:
|
||||||
|
@ -136,6 +144,14 @@ Default: `None`
|
||||||
|
|
||||||
#### MAX_PAGINATE_BY
|
#### MAX_PAGINATE_BY
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
**This setting is pending deprecation.**
|
||||||
|
|
||||||
|
See the pagination documentation for further guidance on [setting the pagination style](pagination.md#modifying-the-pagination-style).
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
The maximum page size to allow when the page size is specified by the client. If set to `None`, then no maximum limit is applied.
|
The maximum page size to allow when the page size is specified by the client. If set to `None`, then no maximum limit is applied.
|
||||||
|
|
||||||
For example, given the following settings:
|
For example, given the following settings:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user