class MySerializer(serializers.ModelSerializer):
    write_only_char_field = serializer.CharField(write_only=True)
write_only_list_char_field = serializer.ListField(child=serializers.
    CharField(max_length=100, default=''), write_only=True)
empty_method_field = serializers.SerializerMethodField()
read_only_custom_model_field = serializers.CharField(source=
    'custom_property', read_only=True)

def create(self, validated_data):
    validated_data.pop('write_only_char_field', None)
validated_data.pop('write_only_list_char_field', None)
Add a non-model field on a ModelSerializer in DRF 3