mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-06-08 07:33:23 +03:00
commit
85e57afc20
|
@ -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."
|
"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.
|
We include built-in translations both for standard exception cases, and for serializer validation errors.
|
||||||
|
|
||||||
|
|
|
@ -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.
|
* `view.max_paginate_by` - Use `paginator.max_page_size` instead.
|
||||||
* `settings.PAGINATE_BY` - Use `paginator.page_size` instead.
|
* `settings.PAGINATE_BY` - Use `paginator.page_size` instead.
|
||||||
* `settings.PAGINATE_BY_PARAM` - Use `paginator.page_size_query_param` 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
|
## Modifications to list behaviors
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user