user_filter增加查询条件
This commit is contained in:
parent
93d3a5aa20
commit
5e1c35902d
|
@ -8,4 +8,8 @@ class UserFilter(filters.FilterSet):
|
|||
fields = {
|
||||
'name': ['exact', 'contains'],
|
||||
'is_active': ['exact'],
|
||||
'posts': ['exact'],
|
||||
'post': ['exact'],
|
||||
'belong_dept': ['exact'],
|
||||
'depts': ['exact']
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue