mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-06-17 12:03:19 +03:00
Changed incorrect class name
This commit is contained in:
parent
3e44f788b1
commit
69b6e26f06
|
@ -127,7 +127,7 @@ This pagination style mirrors the syntax used when looking up multiple database
|
||||||
|
|
||||||
#### Setup
|
#### Setup
|
||||||
|
|
||||||
To enable the `PageNumberPagination` style globally, use the following configuration:
|
To enable the `LimitOffsetPagination` style globally, use the following configuration:
|
||||||
|
|
||||||
REST_FRAMEWORK = {
|
REST_FRAMEWORK = {
|
||||||
'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination'
|
'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user