fix: remote gateway filter address

pull/8931/head
ibuler 2022-09-26 11:01:21 +08:00
parent 6ed3b51928
commit 00e1dd6996
3 changed files with 5 additions and 3 deletions

View File

@ -31,8 +31,8 @@ class DomainViewSet(OrgBulkModelViewSet):
class GatewayViewSet(OrgBulkModelViewSet):
model = Gateway
filterset_fields = ("domain__name", "name", "username", "address", "domain")
search_fields = ("domain__name", "name", "username", "address")
filterset_fields = ("domain__name", "name", "username", "domain")
search_fields = ("domain__name", "name", "username", )
serializer_class = serializers.GatewaySerializer

View File

@ -1,5 +1,6 @@
amqp==5.0.9
ansible==2.10.7
ansible==6.4.0
ansible-runner==4.8.0
asn1crypto==0.24.0
bcrypt==3.1.4
billiard==3.6.4.0
@ -141,3 +142,4 @@ ForgeryPy3==0.3.1
django-debug-toolbar==3.5
Pympler==1.0.1
IPy==1.1