Added doc for removing pagination in generic-view.

This commit is contained in:
Md. Al-Amin 2017-03-06 18:48:32 +06:00 committed by GitHub
parent 68d2020112
commit cd4459815a

View File

@ -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'`. If you want to remove pagination, you can just set `pagination_class = None`.
**Filtering**: **Filtering**: