From cd4459815af5eabe4e5bb98336574d6a1ad38506 Mon Sep 17 00:00:00 2001 From: "Md. Al-Amin" Date: Mon, 6 Mar 2017 18:48:32 +0600 Subject: [PATCH] Added doc for removing pagination in generic-view. --- docs/api-guide/generic-views.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api-guide/generic-views.md b/docs/api-guide/generic-views.md index 606a3787a..2a31999d5 100644 --- a/docs/api-guide/generic-views.md +++ b/docs/api-guide/generic-views.md @@ -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**: