from rest_framework import serializers from dbsynce.models import Provider class ProviderSerializer(serializers.ModelSerializer): class Meta: model = Provider exclude = ["id"]