1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Merge pull request #10296 from kkthxbye-code/10294-fix-wwn-changelog

Fixes #10294 - Don't return empty string for empty wwn form field
This commit is contained in:
Jeremy Stretch
2022-09-08 09:32:53 -04:00
committed by GitHub

View File

@ -1331,6 +1331,12 @@ class InterfaceForm(InterfaceCommonForm, NetBoxModelForm):
label='VRF'
)
wwn = forms.CharField(
empty_value=None,
required=False,
label='WWN'
)
fieldsets = (
('Interface', ('device', 'module', 'name', 'type', 'speed', 'duplex', 'label', 'description', 'tags')),
('Addressing', ('vrf', 'mac_address', 'wwn')),