From a8020f7fad6f481421fc5cde6c30bbd07eb149f5 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Tue, 31 Oct 2023 10:39:47 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0dept=E7=AD=9B?= =?UTF-8?q?=E9=80=89=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/system/filters.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/system/filters.py b/apps/system/filters.py index 0013a133..412c3e75 100755 --- a/apps/system/filters.py +++ b/apps/system/filters.py @@ -24,5 +24,6 @@ class DeptFilterSet(filters.FilterSet): class Meta: model = Dept fields = { - 'type': ['exact', 'in'] + 'type': ['exact', 'in'], + 'name': ['exact', 'in'] }