relationship.py 208 B

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