6
0

event_create.py 214 B

12345678910
  1. from rest_framework import serializers
  2. from webservice_running.models import Event
  3. class EventCreateSerializer(serializers.ModelSerializer):
  4. class Meta:
  5. model = Event
  6. fields = "__all__"