DEFAULT_PAGINATION_SERIALIZER_CLASS removed in 3.1

This commit is contained in:
Xavier Ordoquy 2016-03-08 06:39:08 +01:00
parent 9208619362
commit a0aac166bc

View File

@ -102,9 +102,15 @@ Default: `'rest_framework.negotiation.DefaultContentNegotiation'`
#### DEFAULT_PAGINATION_SERIALIZER_CLASS
A class the determines the default serialization style for paginated responses.
---
Default: `rest_framework.pagination.PaginationSerializer`
**This setting has been removed.**
The pagination API does not use serializers to determine the output format, and
you'll need to instead override the `get_paginated_response method on a
pagination class in order to specify how the output format is controlled.
---
#### DEFAULT_FILTER_BACKENDS