From 8d75f3f2516f6980260df9eb62b822df72fc43c8 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Thu, 18 Jul 2024 14:26:39 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0mlogb.update=E6=9D=83?= =?UTF-8?q?=E9=99=90=E6=A0=87=E8=AF=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/wpm/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/wpm/views.py b/apps/wpm/views.py index 8ab2ef18..26578873 100644 --- a/apps/wpm/views.py +++ b/apps/wpm/views.py @@ -479,5 +479,6 @@ class MlogbInViewSet(CreateModelMixin, UpdateModelMixin, DestroyModelMixin, Cust class MlogbOutViewSet(UpdateModelMixin, CustomGenericViewSet): + perms_map = {"put": "mlogb.update"} queryset = Mlogb.objects.filter(material_out__isnull=False) serializer_class = MlogbOutUpdateSerializer \ No newline at end of file