diff options
| author | Rubén Durá Tarí | 2015-03-16 14:53:26 +0000 | 
|---|---|---|
| committer | Rubén Durá Tarí | 2015-03-16 14:53:26 +0000 | 
| commit | ac44bae90d53004148e28b421803c8c90ce21ffc (patch) | |
| tree | 5a568d374599d5f7c78b3be9e80d2860bf4e4145 /docs/api-guide/pagination.md | |
| parent | 2148f32007871d93179b9c931ecb1279a35f185e (diff) | |
| download | django-rest-framework-ac44bae90d53004148e28b421803c8c90ce21ffc.tar.bz2 | |
Updates ducumentation DEFAULT_PAGE_SIZE left over after #2655
Diffstat (limited to 'docs/api-guide/pagination.md')
| -rw-r--r-- | docs/api-guide/pagination.md | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/docs/api-guide/pagination.md b/docs/api-guide/pagination.md index eca468b8..687e4dc4 100644 --- a/docs/api-guide/pagination.md +++ b/docs/api-guide/pagination.md @@ -196,7 +196,7 @@ The `CursorPagination` class includes a number of attributes that may be overrid  To set these attributes you should override the `CursorPagination` class, and then enable your custom pagination class as above. -* `page_size` = A numeric value indicating the page size. If set, this overrides the `DEFAULT_PAGE_SIZE` setting. Defaults to the same value as the `DEFAULT_PAGE_SIZE` settings key. +* `page_size` = A numeric value indicating the page size. If set, this overrides the `PAGE_SIZE` setting. Defaults to the same value as the `PAGE_SIZE` settings key.  * `cursor_query_param` = A string value indicating the name of the "cursor" query parameter. Defaults to `'cursor'`.  * `ordering` = This should be a string, or list of strings, indicating the field against which the cursor based pagination will be applied. For example: `ordering = 'slug'`. Defaults to `-created`. This value may also be overridden by using `OrderingFilter` on the view.  * `template` = The name of a template to use when rendering pagination controls in the browsable API. May be overridden to modify the rendering style, or set to `None` to disable HTML pagination controls completely. Defaults to `"rest_framework/pagination/previous_and_next.html"`. | 
