mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-11 04:07:39 +03:00
Merge pull request #2666 from balsdorf/patch-1
Changed incorrect class name in pagination docs
This commit is contained in:
commit
dc56e5a0f4
|
@ -127,7 +127,7 @@ This pagination style mirrors the syntax used when looking up multiple database
|
|||
|
||||
#### Setup
|
||||
|
||||
To enable the `PageNumberPagination` style globally, use the following configuration:
|
||||
To enable the `LimitOffsetPagination` style globally, use the following configuration:
|
||||
|
||||
REST_FRAMEWORK = {
|
||||
'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination'
|
||||
|
|
Loading…
Reference in New Issue
Block a user