class Item: name = models.CharField(...) document = models.FileField(...) class ItemSerializer(serializers.ModelSerializer): class Meta: model