Parcourir la source

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

Jeremy Stretch il y a 8 ans
Parent
commit
d87acc97c3
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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():