fix: 修改应用category

This commit is contained in:
Jiangjie.Bai 2022-03-17 15:26:38 +08:00 committed by Jiangjie.Bai
parent 5c7bfcff1c
commit b297ebe973

View File

@ -17,7 +17,7 @@ class ApplicationViewSet(SuggestionMixin, OrgBulkModelViewSet):
model = Application
filterset_fields = {
'name': ['exact'],
'category': ['exact'],
'category': ['exact', 'in'],
'type': ['exact', 'in'],
}
search_fields = ('name', 'type', 'category')