Explorar o código

Fixes #1171: Allow removing site assignment when bulk editing VLANs

Jeremy Stretch %!s(int64=8) %!d(string=hai) anos
pai
achega
d87acc97c3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      netbox/ipam/forms.py

+ 1 - 1
netbox/ipam/forms.py

@@ -701,7 +701,7 @@ class VLANBulkEditForm(BootstrapMixin, CustomFieldBulkEditForm):
     description = forms.CharField(max_length=100, required=False)
 
     class Meta:
-        nullable_fields = ['group', 'tenant', 'role', 'description']
+        nullable_fields = ['site', 'group', 'tenant', 'role', 'description']
 
 
 def vlan_status_choices():