From 3cc9b0b1172c10bb6d173515edaf31f1ef901ff3 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Sun, 9 Nov 2025 23:05:35 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20base=20=E6=B7=BB=E5=8A=A0EuModelViewSet?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/utils/viewsets.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/apps/utils/viewsets.py b/apps/utils/viewsets.py index 9947b4a0..1f8d53b1 100755 --- a/apps/utils/viewsets.py +++ b/apps/utils/viewsets.py @@ -225,4 +225,11 @@ class CustomModelViewSet(BulkCreateModelMixin, BulkUpdateModelMixin, CustomListM CustomRetrieveModelMixin, BulkDestroyModelMixin, ComplexQueryMixin, CustomGenericViewSet): """ 增强的ModelViewSet + """ + + +class EuModelViewSet(BulkCreateModelMixin, CustomListModelMixin, + CustomRetrieveModelMixin, BulkDestroyModelMixin, ComplexQueryMixin, CustomGenericViewSet): + """ + 不支持更新的增强ModelViewSet """ \ No newline at end of file