from rest_framework import serializers from .models import * from django.contrib.auth.models import * class DocumentsSerializer(serializers.ModelSerializer): class Meta: model = Documents exclude = ["id"]