mirror of https://github.com/jumpserver/jumpserver
parent
689bd093be
commit
fee3715d30
@ -1,12 +0,0 @@
|
||||
from django_filters import rest_framework as filters
|
||||
|
||||
from .models import Application
|
||||
from applications import const
|
||||
|
||||
|
||||
class ApplicationFilter(filters.FilterSet):
|
||||
type = filters.MultipleChoiceFilter(choices=const.ApplicationTypeChoices.choices)
|
||||
|
||||
class Meta:
|
||||
model = Application
|
||||
fields = ['id', 'name', 'category', 'type', 'comment']
|
Loading…
Reference in new issue