from rest_framework import serializers

from ...models import File


class FileSerializer(serializers.ModelSerializer):
    class Meta:
        model = File
        exclude = ('id',)

from rest_framework import serializers

from ...models import File


class FileSerializer(serializers.ModelSerializer):
    class Meta:
        model = File
        exclude = ('id',)
