event_create.py~ 233 B

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