document use of new setting

This commit is contained in:
Christian 2022-05-14 22:00:06 +01:00 committed by GitHub
parent be7d942349
commit d749efdab1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
#### DEFAULT_VERSION