mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-16 12:12:53 -06:00
Move device template
This commit is contained in:
parent
1d922ee813
commit
1d7bee5eee
@ -981,7 +981,6 @@ class DeviceView(generic.ObjectView):
|
|||||||
queryset = Device.objects.prefetch_related(
|
queryset = Device.objects.prefetch_related(
|
||||||
'site__region', 'rack__group', 'tenant__group', 'device_role', 'platform', 'primary_ip4', 'primary_ip6'
|
'site__region', 'rack__group', 'tenant__group', 'device_role', 'platform', 'primary_ip4', 'primary_ip6'
|
||||||
)
|
)
|
||||||
template_name = 'dcim/device/device.html'
|
|
||||||
|
|
||||||
def get_extra_context(self, request, instance):
|
def get_extra_context(self, request, instance):
|
||||||
# VirtualChassis members
|
# VirtualChassis members
|
||||||
|
Loading…
Reference in New Issue
Block a user