mirror of
https://github.com/Ai-hack-MAGNUM-OPUS/backend.git
synced 2024-11-23 00:36:35 +03:00
11 lines
249 B
Python
11 lines
249 B
Python
from rest_framework import serializers
|
|
|
|
from checker.models import Docx
|
|
|
|
|
|
class DocxSerializer(serializers.ModelSerializer):
|
|
class Meta:
|
|
model = Docx
|
|
fields = ["uuid", "file"]
|
|
extra_kwargs = {"uuid": {"read_only": True}}
|