client.py 190 B

1234567
  1. from rest_framework import serializers
  2. from dbsynce.models import Client
  3. class ClientSerializer(serializers.ModelSerializer):
  4. class Meta:
  5. model = Client
  6. exclude = ["id"]