Skip to content

Commit

Permalink
Also fix usecases to use cases
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyrel Souza committed Dec 15, 2015
1 parent ffc10ed commit 8c0d736
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api-guide/pagination.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ The `PageNumberPagination` class includes a number of attributes that may be ove

To set these attributes you should override the `PageNumberPagination` class, and then enable your custom pagination class as above.

* `django_paginator_class` - The Django Paginator class to use. Default is `django.core.paginator.Paginator`, which should be fine for most usecases.
* `django_paginator_class` - The Django Paginator class to use. Default is `django.core.paginator.Paginator`, which should be fine for most use cases.
* `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.
* `page_query_param` - A string value indicating the name of the query parameter to use for the pagination control.
* `page_size_query_param` - If set, this is a string value indicating the name of a query parameter that allows the client to set the page size on a per-request basis. Defaults to `None`, indicating that the client may not control the requested page size.
Expand Down

0 comments on commit 8c0d736

Please sign in to comment.