make validation_context optional
This commit is contained in:
parent
0115147f5f
commit
60ed1c9514
|
@ -285,7 +285,7 @@ class AppConfig(django.apps.AppConfig):
|
|||
choices=[
|
||||
('online', 'online'),
|
||||
('office', 'office'),
|
||||
])
|
||||
], required=False)
|
||||
serializer.fields['validation_partner'].read_only = True
|
||||
serializer.fields['creation_mode'].read_only = True
|
||||
serializer.fields['creation_partner'].read_only = True
|
||||
|
|
Loading…
Reference in New Issue