mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-27 08:29:59 +03:00
document use of new setting
This commit is contained in:
parent
be7d942349
commit
d749efdab1
|
@ -143,6 +143,19 @@ Default: `ordering`
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
## Model serializer settings
|
||||||
|
|
||||||
|
*The following settings control the behavior of the model serializer.*
|
||||||
|
|
||||||
|
#### STRICT_PARTIAL_UPDATE
|
||||||
|
|
||||||
|
Enforce the use of [update_fields](https://docs.djangoproject.com/en/4.0/ref/models/instances/#specifying-which-fields-to-save)
|
||||||
|
when saving an instance during a model serializer update with `partial=True`.
|
||||||
|
|
||||||
|
Default: `False`
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
## Versioning settings
|
## Versioning settings
|
||||||
|
|
||||||
#### DEFAULT_VERSION
|
#### DEFAULT_VERSION
|
||||||
|
|
Loading…
Reference in New Issue
Block a user