mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Set model as attribute on bulk edit forms
This commit is contained in:
@@ -29,6 +29,7 @@ class WirelessLANGroupBulkEditForm(NetBoxModelBulkEditForm):
|
||||
required=False
|
||||
)
|
||||
|
||||
model = WirelessLANGroup
|
||||
nullable_fields = ('parent', 'description')
|
||||
|
||||
|
||||
@@ -67,6 +68,7 @@ class WirelessLANBulkEditForm(NetBoxModelBulkEditForm):
|
||||
label='Pre-shared key'
|
||||
)
|
||||
|
||||
model = WirelessLAN
|
||||
nullable_fields = (
|
||||
'ssid', 'group', 'vlan', 'description', 'auth_type', 'auth_cipher', 'auth_psk',
|
||||
)
|
||||
@@ -102,6 +104,7 @@ class WirelessLinkBulkEditForm(NetBoxModelBulkEditForm):
|
||||
label='Pre-shared key'
|
||||
)
|
||||
|
||||
model = WirelessLink
|
||||
nullable_fields = (
|
||||
'ssid', 'description', 'auth_type', 'auth_cipher', 'auth_psk',
|
||||
)
|
||||
|
Reference in New Issue
Block a user