From a0aac166bc23b82c4b93f255faafc8fa7766f558 Mon Sep 17 00:00:00 2001 From: Xavier Ordoquy Date: Tue, 8 Mar 2016 06:39:08 +0100 Subject: [PATCH] DEFAULT_PAGINATION_SERIALIZER_CLASS removed in 3.1 --- docs/api-guide/settings.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/api-guide/settings.md b/docs/api-guide/settings.md index 23691dec1..bc351f321 100644 --- a/docs/api-guide/settings.md +++ b/docs/api-guide/settings.md @@ -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