6
0

participant.py 217 B

12345678
  1. from rest_framework import serializers
  2. from webservice_running.models import Participant
  3. class ParticipantSerializer(serializers.ModelSerializer):
  4. class Meta:
  5. model = Participant
  6. exclude = ["id"]