这里写目录标题
一.Django中5个Mixin子类
CreateModelMixin
ListModelMixin
RetrieveModelMixin
UpdateModelMixin
DestroyModelMixin
但是在项目开发的过程中,这5个Mixin子类并不能满足所有的需求,例如进行批量删除操作,所以需要自定义Mixin类,将自定义的Mixin类放到utils工具包中
from drf_yasg2 import openapi
from drf_yasg2.utils import swagger_auto_schema
from rest_framework import status
from rest_framework.response import Response
from rest_framework