1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Renamed PowerPort.power_outlet to connected_endpoint

This commit is contained in:
Jeremy Stretch
2018-10-24 11:00:13 -04:00
parent 1595a5ecd7
commit 2ec8dc8319
18 changed files with 158 additions and 125 deletions

View File

@ -168,7 +168,7 @@ class HomeView(View):
'device_count': Device.objects.count(),
'interface_connections_count': InterfaceConnection.objects.count(),
'console_connections_count': ConsolePort.objects.filter(connected_endpoint__isnull=False).count(),
'power_connections_count': PowerPort.objects.filter(power_outlet__isnull=False).count(),
'power_connections_count': PowerPort.objects.filter(connected_endpoint__isnull=False).count(),
# IPAM
'vrf_count': VRF.objects.count(),