feat: user增加belong_dept_name查询条件
This commit is contained in:
parent
d76b0ca0e4
commit
31f515a966
|
@ -13,7 +13,9 @@ class UserFilterSet(filters.FilterSet):
|
||||||
'post': ['exact'],
|
'post': ['exact'],
|
||||||
'belong_dept': ['exact'],
|
'belong_dept': ['exact'],
|
||||||
'depts': ['exact'],
|
'depts': ['exact'],
|
||||||
'type': ['exact', 'in']
|
'type': ['exact', 'in'],
|
||||||
|
'belong_dept__name': ['exact'],
|
||||||
|
'depts__name': ["exact"]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue