1๐
read_only
Set this to True to ensure that the field is used when
serializing a representation, but is not used when creating or
updating an instance during deserialization.Defaults to
False
write_only
Set this to True to ensure that the field may be used when
updating or creating an instance, but is not included when serializing
the representation.Defaults to
False
๐คzxzak
Source:stackexchange.com