From 153fca308e488803e90ce0b18212a3b12cacf087 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Fri, 12 Apr 2024 16:43:48 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20base=20systemuser=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E7=AD=9B=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 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/system/filters.py b/apps/system/filters.py index 8d83e3a8..52312620 100755 --- a/apps/system/filters.py +++ b/apps/system/filters.py @@ -15,7 +15,9 @@ class UserFilterSet(filters.FilterSet): 'depts': ['exact'], 'type': ['exact', 'in'], 'belong_dept__name': ['exact'], - 'depts__name': ["exact"] + 'depts__name': ["exact"], + 'posts__name': ["exact"], + 'posts__code': ["exact"], }