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

add device bulk rename view and url

This commit is contained in:
Craig Pund
2022-06-30 01:38:38 -04:00
parent 8e200a9cb4
commit fa014fcbf0
2 changed files with 7 additions and 0 deletions

View File

@@ -1786,6 +1786,12 @@ class DeviceBulkDeleteView(generic.BulkDeleteView):
table = tables.DeviceTable
class DeviceBulkRenameView(generic.BulkRenameView):
queryset = Device.objects.prefetch_related('tenant', 'site', 'rack', 'device_role', 'device_type__manufacturer')
filterset = filtersets.DeviceFilterSet
table = tables.DeviceTable
#
# Devices
#