mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Misc test fixes
This commit is contained in:
@@ -484,7 +484,7 @@ class PowerOutletViewSet(CableTraceMixin, ModelViewSet):
|
||||
|
||||
class InterfaceViewSet(CableTraceMixin, ModelViewSet):
|
||||
queryset = Interface.objects.prefetch_related(
|
||||
'device', '_connected_interface', '_connected_circuittermination', 'cable', 'ip_addresses', 'tags'
|
||||
'device', '_connected_interface', '_connected_circuittermination', 'cable', 'ipaddresses', 'tags'
|
||||
).filter(
|
||||
device__isnull=False
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user