From db01a6d48d26f297ed35837022f9119e9d0062c5 Mon Sep 17 00:00:00 2001
From: jiangweidong <weidong.jiang@fit2cloud.com>
Date: Wed, 29 Dec 2021 16:02:25 +0800
Subject: [PATCH] =?UTF-8?q?fix:=20=E5=9B=A0=E4=B8=BAadmin=5Fuser=E8=A1=A8?=
 =?UTF-8?q?=E4=B8=AD=E6=9C=89=E5=8E=86=E5=8F=B2=E6=95=B0=E6=8D=AE=EF=BC=8C?=
 =?UTF-8?q?=E5=AF=BC=E8=87=B4=E7=BB=84=E7=BB=87=E6=97=A0=E6=B3=95=E5=88=A0?=
 =?UTF-8?q?=E9=99=A4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 apps/orgs/api.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/apps/orgs/api.py b/apps/orgs/api.py
index 283e71469..4a5c24fdb 100644
--- a/apps/orgs/api.py
+++ b/apps/orgs/api.py
@@ -19,7 +19,7 @@ from .serializers import (
 )
 from users.models import User, UserGroup
 from assets.models import (
-    Asset, Domain, AdminUser, SystemUser, Label, Node, Gateway,
+    Asset, Domain, SystemUser, Label, Node, Gateway,
     CommandFilter, CommandFilterRule, GatheredUser
 )
 from applications.models import Application
@@ -35,7 +35,7 @@ logger = get_logger(__file__)
 
 # 部分 org 相关的 model,需要清空这些数据之后才能删除该组织
 org_related_models = [
-    User, UserGroup, Asset, Label, Domain, Gateway, Node, AdminUser, SystemUser, Label,
+    User, UserGroup, Asset, Label, Domain, Gateway, Node, SystemUser, Label,
     CommandFilter, CommandFilterRule, GatheredUser,
     AssetPermission, ApplicationPermission,
     Application,