Skip to content

Commit e3274af

Browse files
committed
Merge pull request #3741 from tyrelsouza/master
Some minor typos and grammar changes.
2 parents 3a950f5 + 8c0d736 commit e3274af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/api-guide/pagination.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ The `PageNumberPagination` class includes a number of attributes that may be ove
9797

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

100-
* `django_paginator_class` - The Django Paginator class to use. Default is `django.core.paginator.Paginator`, which should be fine for most usecases.
100+
* `django_paginator_class` - The Django Paginator class to use. Default is `django.core.paginator.Paginator`, which should be fine for most use cases.
101101
* `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.
102102
* `page_query_param` - A string value indicating the name of the query parameter to use for the pagination control.
103103
* `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.
@@ -178,7 +178,7 @@ Proper usage of cursor pagination should have an ordering field that satisfies t
178178
* Should be a non-nullable value that can be coerced to a string.
179179
* The field should have a database index.
180180

181-
Using an ordering field that does not satisfy these constraints will generally still work, but you'll be loosing some of the benefits of cursor pagination.
181+
Using an ordering field that does not satisfy these constraints will generally still work, but you'll be losing some of the benefits of cursor pagination.
182182

183183
For more technical details on the implementation we use for cursor pagination, the ["Building cursors for the Disqus API"][disqus-cursor-api] blog post gives a good overview of the basic approach.
184184

0 commit comments

Comments
 (0)