From 91e869750ebd2a614a76f74954676ef433e05cd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20Gro=C3=9F?= Date: Mon, 21 Mar 2016 08:57:43 +0000 Subject: [PATCH 1/3] Fix typo --- docs/topics/3.1-announcement.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/topics/3.1-announcement.md b/docs/topics/3.1-announcement.md index 80d4007eb..46a67e3fc 100644 --- a/docs/topics/3.1-announcement.md +++ b/docs/topics/3.1-announcement.md @@ -110,7 +110,7 @@ When per-request internationalization is enabled, client requests will respect t "detail": "No se ha podido satisfacer la solicitud de cabecera de Accept." } -Note that the structure of the error responses is still the same. We still have a `details` key in the response. If needed you can modify this behavior too, by using a [custom exception handler][custom-exception-handler]. +Note that the structure of the error responses is still the same. We still have a `detail` key in the response. If needed you can modify this behavior too, by using a [custom exception handler][custom-exception-handler]. We include built-in translations both for standard exception cases, and for serializer validation errors. From 3785281d4c0830cdeac901e222e667eff42cfa54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20Gro=C3=9F?= Date: Mon, 21 Mar 2016 10:07:47 +0000 Subject: [PATCH 2/3] Add missing paginator in docs --- docs/topics/3.2-announcement.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/topics/3.2-announcement.md b/docs/topics/3.2-announcement.md index f0cc09a46..dc439f110 100644 --- a/docs/topics/3.2-announcement.md +++ b/docs/topics/3.2-announcement.md @@ -54,7 +54,7 @@ The following pagination view attributes and settings have been moved into attri * `view.max_paginate_by` - Use `paginator.max_page_size` instead. * `settings.PAGINATE_BY` - Use `paginator.page_size` instead. * `settings.PAGINATE_BY_PARAM` - Use `paginator.page_size_query_param` instead. -* `settings.MAX_PAGINATE_BY` - Use `max_page_size` instead. +* `settings.MAX_PAGINATE_BY` - Use `paginator.max_page_size` instead. ## Modifications to list behaviors From 0056703fe8afd5f2dfb8fe5eed4fb66c1ea9aa46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20Gro=C3=9F?= Date: Mon, 21 Mar 2016 10:23:34 +0000 Subject: [PATCH 3/3] Fix code sample indention --- docs/api-guide/pagination.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api-guide/pagination.md b/docs/api-guide/pagination.md index f704a3247..65ea2b3e6 100644 --- a/docs/api-guide/pagination.md +++ b/docs/api-guide/pagination.md @@ -54,7 +54,7 @@ Or apply the style globally, using the `DEFAULT_PAGINATION_CLASS` settings key. REST_FRAMEWORK = { 'DEFAULT_PAGINATION_CLASS': 'apps.core.pagination.StandardResultsSetPagination' - } + } ---