mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-22 17:47:04 +03:00
Added doc for removing pagination in generic-view. (#4940)
This commit is contained in:
parent
0b708f04e1
commit
8a14b39e7d
|
@ -69,7 +69,7 @@ The following attributes control the basic view behavior.
|
||||||
|
|
||||||
The following attributes are used to control pagination when used with list views.
|
The following attributes are used to control pagination when used with list views.
|
||||||
|
|
||||||
* `pagination_class` - The pagination class that should be used when paginating list results. Defaults to the same value as the `DEFAULT_PAGINATION_CLASS` setting, which is `'rest_framework.pagination.PageNumberPagination'`.
|
* `pagination_class` - The pagination class that should be used when paginating list results. Defaults to the same value as the `DEFAULT_PAGINATION_CLASS` setting, which is `'rest_framework.pagination.PageNumberPagination'`. Setting `pagination_class=None` will disable pagination on this view.
|
||||||
|
|
||||||
**Filtering**:
|
**Filtering**:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user