Explorar el Código

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

Jeremy Stretch hace 9 años
padre
commit
d87acc97c3
Se han modificado 1 ficheros con 1 adiciones y 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():