diff options
| author | Tom Christie | 2013-01-08 15:05:34 +0000 |
|---|---|---|
| committer | Tom Christie | 2013-01-08 15:05:34 +0000 |
| commit | 37a84586871586cada799c232253641edbdb8400 (patch) | |
| tree | 35275c8e15bedcb11fba1f3e6ae2f8eddc641d71 /docs/api-guide/pagination.md | |
| parent | c1f194b0a592c88c7de512958f62c43695df018f (diff) | |
| parent | ae139cb06f9dcd10d4d34ec3368d4910ae4c9c24 (diff) | |
| download | django-rest-framework-37a84586871586cada799c232253641edbdb8400.tar.bz2 | |
Merge branch 'master' of https://github.com/tomchristie/django-rest-framework
Diffstat (limited to 'docs/api-guide/pagination.md')
| -rw-r--r-- | docs/api-guide/pagination.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/api-guide/pagination.md b/docs/api-guide/pagination.md index ab335e6e..71253afb 100644 --- a/docs/api-guide/pagination.md +++ b/docs/api-guide/pagination.md @@ -97,6 +97,8 @@ You can also set the pagination style on a per-view basis, using the `ListAPIVie paginate_by = 10 paginate_by_param = 'page_size' +Note that using a `paginate_by` value of `None` will turn off pagination for the 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. --- |
