6
0

saved_event.py 214 B

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