available_for_events not required
This commit is contained in:
parent
5aa74ff7c9
commit
a23c50a130
|
|
@ -426,7 +426,8 @@ class EmployeeBackSerializers(PhoneMixinSerializer, serializers.ModelSerializer)
|
||||||
'photo_id',
|
'photo_id',
|
||||||
]
|
]
|
||||||
extra_kwargs = {
|
extra_kwargs = {
|
||||||
'phone': {'write_only': True}
|
'phone': {'write_only': True},
|
||||||
|
'available_for_events': {'required': False}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user