conflicts.serializers module

class conflicts.serializers.ConflictOfInterestSerializer(instance=None, data=<class 'rest_framework.fields.empty'>, **kwargs)[source]

Bases: rest_framework.serializers.ModelSerializer

class Meta[source]

Bases: object

model

alias of conflicts.models.ConflictOfInterest

fields = ('id', 'related_profile', 'profile', 'type', 'status')
read_only_fields = ('id', 'related_profile', 'profile')