From ecf45892ff207431c930aaa80d896af82e61ae30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=BC=BA?= <1206709430@qq.com> Date: Mon, 17 Jul 2023 11:23:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=9F=E8=83=BD=E5=8F=98=E5=8C=96:=20?= =?UTF-8?q?=E5=8E=BB=E6=8E=89=E8=B0=83=E8=AF=95=E6=89=93=E5=8D=B0=E6=97=A5?= =?UTF-8?q?=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/dvadmin/utils/models.py | 1 - 1 file changed, 1 deletion(-) diff --git a/backend/dvadmin/utils/models.py b/backend/dvadmin/utils/models.py index 9ba4f33..403ccf9 100644 --- a/backend/dvadmin/utils/models.py +++ b/backend/dvadmin/utils/models.py @@ -118,7 +118,6 @@ class SoftDeleteModel(models.Model): ] relations["self"] = f"{tree_model_field[0]}_id" if len(tree_model_field) == 1 else None relations["foreign"] = related_fields - print(f"{relations=}", flush=True) return relations def _is_cascade(self, relation):