From 8c118b6f47f80821a6d61ad9425f9d2b234209a0 Mon Sep 17 00:00:00 2001 From: xinwen Date: Thu, 21 Oct 2021 15:10:16 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=BB=84=E7=BB=87=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E6=8A=A5=E9=94=99=E6=9C=AA=E7=BF=BB=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/orgs/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/orgs/api.py b/apps/orgs/api.py index 14ad9cb20..bc07a6833 100644 --- a/apps/orgs/api.py +++ b/apps/orgs/api.py @@ -74,7 +74,7 @@ class OrgViewSet(BulkModelViewSet): def perform_destroy(self, instance): if str(current_org) == str(instance): - msg = _('The current organization ({}) cannot be deleted'.format(current_org)) + msg = _('The current organization ({}) cannot be deleted').format(current_org) raise PermissionDenied(detail=msg) for model in org_related_models: