mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-22 20:12:00 -06:00
Custom name for ConnectedDeviceViewSet
This commit is contained in:
parent
6cb36a6cee
commit
122526a9d0
@ -326,6 +326,9 @@ class ConnectedDeviceViewSet(ViewSet):
|
||||
"""
|
||||
permission_classes = [IsAuthenticated]
|
||||
|
||||
def get_view_name(self):
|
||||
return "Connected Device Locator"
|
||||
|
||||
def list(self, request):
|
||||
|
||||
peer_device_name = request.query_params.get('peer-device')
|
||||
|
Loading…
Reference in New Issue
Block a user