documents.py 199 B

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