service.py 193 B

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