mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-23 17:08:41 -06:00
Remove erroneous field from prefetch
This commit is contained in:
parent
ca10a7834a
commit
e2a02de6e9
@ -585,7 +585,7 @@ class IPRangeIPAddressesView(generic.ObjectChildrenView):
|
|||||||
|
|
||||||
def get_children(self, request, parent):
|
def get_children(self, request, parent):
|
||||||
return parent.get_child_ips().restrict(request.user, 'view').prefetch_related(
|
return parent.get_child_ips().restrict(request.user, 'view').prefetch_related(
|
||||||
'vrf', 'role', 'tenant',
|
'vrf', 'tenant',
|
||||||
)
|
)
|
||||||
|
|
||||||
def get_extra_context(self, request, instance):
|
def get_extra_context(self, request, instance):
|
||||||
|
Loading…
Reference in New Issue
Block a user