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