mirror of
https://github.com/Ai-hack-MAGNUM-OPUS/backend.git
synced 2024-11-28 11:03:42 +03:00
12 lines
365 B
Python
12 lines
365 B
Python
|
from rest_framework import generics
|
||
|
from rest_framework.parsers import MultiPartParser, FormParser
|
||
|
|
||
|
from checker.api.serializers import DocxSerializer
|
||
|
from checker.models import Docx
|
||
|
|
||
|
|
||
|
class ListCreateDocxApiView(generics.ListCreateAPIView):
|
||
|
parser_classes = [FormParser, MultiPartParser]
|
||
|
serializer_class = DocxSerializer
|
||
|
queryset = Docx.objects.all()
|