1
1
mirror of https://github.com/encode/django-rest-framework.git synced 2025-08-14 17:24:48 +03:00

Merge pull request from balsdorf/patch-1

Changed incorrect class name in pagination docs
This commit is contained in:
José Padilla 2015-03-10 19:01:50 -04:00
commit dc56e5a0f4

View File

@ -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'