From 6778af3f073e37caa9197a38aec69bb81793a278 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Thu, 18 Jul 2024 14:31:34 +0800 Subject: [PATCH] =?UTF-8?q?fix:=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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/wpm/views.py b/apps/wpm/views.py index 26578873..0f78d679 100644 --- a/apps/wpm/views.py +++ b/apps/wpm/views.py @@ -479,6 +479,6 @@ class MlogbInViewSet(CreateModelMixin, UpdateModelMixin, DestroyModelMixin, Cust class MlogbOutViewSet(UpdateModelMixin, CustomGenericViewSet): - perms_map = {"put": "mlogb.update"} + perms_map = {"put": "mlog.update"} queryset = Mlogb.objects.filter(material_out__isnull=False) serializer_class = MlogbOutUpdateSerializer \ No newline at end of file