mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-02-13 10:00:53 +03:00
Tweak
This commit is contained in:
parent
0eba278e13
commit
2263ed8b94
|
@ -122,7 +122,7 @@ For example, to nest a pair of links labelled 'prev' and 'next', and set the nam
|
||||||
|
|
||||||
## Using your custom pagination serializer
|
## Using your custom pagination serializer
|
||||||
|
|
||||||
To have your custom pagination serializer be used by default use the `DEFAULT_PAGINATION_SERIALIZER_CLASS` setting:
|
To have your custom pagination serializer be used by default, use the `DEFAULT_PAGINATION_SERIALIZER_CLASS` setting:
|
||||||
|
|
||||||
REST_FRAMEWORK = {
|
REST_FRAMEWORK = {
|
||||||
'DEFAULT_PAGINATION_SERIALIZER_CLASS':
|
'DEFAULT_PAGINATION_SERIALIZER_CLASS':
|
||||||
|
|
Loading…
Reference in New Issue
Block a user