mirror of https://github.com/jumpserver/jumpserver
fix: remote gateway filter address
parent
6ed3b51928
commit
00e1dd6996
|
@ -31,8 +31,8 @@ class DomainViewSet(OrgBulkModelViewSet):
|
||||||
|
|
||||||
class GatewayViewSet(OrgBulkModelViewSet):
|
class GatewayViewSet(OrgBulkModelViewSet):
|
||||||
model = Gateway
|
model = Gateway
|
||||||
filterset_fields = ("domain__name", "name", "username", "address", "domain")
|
filterset_fields = ("domain__name", "name", "username", "domain")
|
||||||
search_fields = ("domain__name", "name", "username", "address")
|
search_fields = ("domain__name", "name", "username", )
|
||||||
serializer_class = serializers.GatewaySerializer
|
serializer_class = serializers.GatewaySerializer
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
amqp==5.0.9
|
amqp==5.0.9
|
||||||
ansible==2.10.7
|
ansible==6.4.0
|
||||||
|
ansible-runner==4.8.0
|
||||||
asn1crypto==0.24.0
|
asn1crypto==0.24.0
|
||||||
bcrypt==3.1.4
|
bcrypt==3.1.4
|
||||||
billiard==3.6.4.0
|
billiard==3.6.4.0
|
||||||
|
@ -141,3 +142,4 @@ ForgeryPy3==0.3.1
|
||||||
django-debug-toolbar==3.5
|
django-debug-toolbar==3.5
|
||||||
Pympler==1.0.1
|
Pympler==1.0.1
|
||||||
IPy==1.1
|
IPy==1.1
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue