mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-04 20:40:14 +03:00
Added doc for removing pagination in generic-view.
This commit is contained in:
parent
68d2020112
commit
cd4459815a
|
@ -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.
|
||||
|
||||
* `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'`. If you want to remove pagination, you can just set `pagination_class = None`.
|
||||
|
||||
**Filtering**:
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user