api.v1.serializers.emailcorrespondent_serializers.BaseEmailCorrespondentSerializer module¶
Module with the BaseEmailCorrespondentSerializer serializer class.
- class api.v1.serializers.emailcorrespondent_serializers.BaseEmailCorrespondentSerializer.BaseEmailCorrespondentSerializer(*args, **kwargs)[source]¶
Bases:
ModelSerializerThe base serializer for
core.models.EmailCorrespondent.Includes all viable fields from the model. Sets all constraints that must be implemented in all serializers. Other serializers for
core.models.EmailCorrespondentshould inherit from this.- class Meta[source]¶
Bases:
objectMetadata class for the base serializer.
Contains constraints that must be implemented by all serializers. Other serializer metaclasses should inherit from this.
read_only_fieldsmust not be shortened in subclasses.- model¶
The model to serialize.
alias of
EmailCorrespondent
- _declared_fields = {}¶