provider.py 196 B

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