From dd8979d7ba6d7b805fb1c7083e87c10687effd2c Mon Sep 17 00:00:00 2001 From: Carlton Gibson Date: Mon, 25 Sep 2017 15:27:33 +0200 Subject: [PATCH] Adjust doc wording --- docs/api-guide/pagination.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api-guide/pagination.md b/docs/api-guide/pagination.md index 8c5194788..b0eae47c7 100644 --- a/docs/api-guide/pagination.md +++ b/docs/api-guide/pagination.md @@ -28,7 +28,7 @@ The pagination style may be set globally, using the `DEFAULT_PAGINATION_CLASS` a 'PAGE_SIZE': 100 } -Note that you need to set both the pagination class, and the page size that should be used. The `DEFAULT_PAGINATION_CLASS` is set to `None` and disabled by default. +Note that you need to set both the pagination class, and the page size that should be used. Both `DEFAULT_PAGINATION_CLASS` and `PAGE_SIZE` are `None` by default. You can also set the pagination class on an individual view by using the `pagination_class` attribute. Typically you'll want to use the same pagination style throughout your API, although you might want to vary individual aspects of the pagination, such as default or maximum page size, on a per-view basis.