new setting

This commit is contained in:
Christian 2022-05-17 21:58:26 +01:00 committed by GitHub
parent 2d9f6e14c8
commit 5f7348102f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,6 +53,7 @@ DEFAULTS = {
# Model serializer behavior # Model serializer behavior
'STRICT_PARTIAL_UPDATE': False, 'STRICT_PARTIAL_UPDATE': False,
'PARTIAL_UPDATE_EXTRA_FIELDS': [],
# Schema # Schema
'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.openapi.AutoSchema', 'DEFAULT_SCHEMA_CLASS': 'rest_framework.schemas.openapi.AutoSchema',