Browse Source

Fixes #562: Fixed bulk interface creation

Jeremy Stretch 9 năm trước cách đây
mục cha
commit
513408f16a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      netbox/dcim/views.py

+ 1 - 1
netbox/dcim/views.py

@@ -1399,7 +1399,7 @@ class InterfaceBulkAddView(PermissionRequiredMixin, BulkEditView):
     template_name = 'dcim/interface_add_multi.html'
     default_redirect_url = 'dcim:device_list'
 
-    def update_objects(self, pk_list, form):
+    def update_objects(self, pk_list, form, fields):
 
         selected_devices = Device.objects.filter(pk__in=pk_list)
         interfaces = []