<reponame>juniorosorio47/client-order
from rest_framework import serializers
from ..models import Client

class ClientSerializer(serializers.ModelSerializer):
    class Meta:
        model = Client
        fields = ('id', 'name')
from rest_framework import serializers
from ..models import Client

class ClientSerializer(serializers.ModelSerializer):
    class Meta:
        model = Client
        fields = ('id', 'name')