This commit is contained in:
caoqianming 2024-04-16 13:22:47 +08:00
commit 141e8ad4c8
1 changed files with 3 additions and 1 deletions

View File

@ -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"],
}