diff --git a/docs/api-guide/pagination.md b/docs/api-guide/pagination.md index ab335e6e2..1f88431b4 100644 --- a/docs/api-guide/pagination.md +++ b/docs/api-guide/pagination.md @@ -96,9 +96,12 @@ You can also set the pagination style on a per-view basis, using the `ListAPIVie model = ExampleModel paginate_by = 10 paginate_by_param = 'page_size' +Note: to override the default pagination settings on a per-view basis, using 'paginate_by = 0' will turn off the pagination for this view For more complex requirements such as serialization that differs depending on the requested media type you can override the `.get_paginate_by()` and `.get_pagination_serializer_class()` methods. + + --- # Custom pagination serializers