fix: 组织删除报错未翻译

pull/7049/head
xinwen 2021-10-21 15:10:16 +08:00 committed by 老广
parent 68fd8012d8
commit 8c118b6f47
1 changed files with 1 additions and 1 deletions

View File

@ -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: