from rest_framework import serializers from webservice_running.models import Event class EventCreateSerializer(serializers.ModelSerializer): print("="*100) class Meta: model = Event fields = "__all__"