From 78836389f0b8b7b074be8bd93419cf0e115bdfd4 Mon Sep 17 00:00:00 2001 From: jeremystretch Date: Thu, 14 Apr 2022 08:37:58 -0400 Subject: [PATCH] Changelog for #8543 & cleanup --- docs/release-notes/version-3.2.md | 1 + netbox/wireless/forms/models.py | 17 +++-------------- 2 files changed, 4 insertions(+), 14 deletions(-) diff --git a/docs/release-notes/version-3.2.md b/docs/release-notes/version-3.2.md index c5c20379a..43c6469ba 100644 --- a/docs/release-notes/version-3.2.md +++ b/docs/release-notes/version-3.2.md @@ -5,6 +5,7 @@ ### Enhancements * [#5479](https://github.com/netbox-community/netbox/issues/5479) - Allow custom job timeouts for scripts & reports +* [#8543](https://github.com/netbox-community/netbox/issues/8543) - Improve filtering for wireless LAN VLAN selection * [#8920](https://github.com/netbox-community/netbox/issues/8920) - Limit number of non-racked devices displayed * [#8956](https://github.com/netbox-community/netbox/issues/8956) - Retain old script/report results for configured lifetime * [#8973](https://github.com/netbox-community/netbox/issues/8973) - Display VLAN group count under site view diff --git a/netbox/wireless/forms/models.py b/netbox/wireless/forms/models.py index 7c5c048d6..6d7dc84a9 100644 --- a/netbox/wireless/forms/models.py +++ b/netbox/wireless/forms/models.py @@ -1,8 +1,7 @@ from dcim.models import Device, Interface, Location, Region, Site, SiteGroup -from extras.models import Tag from ipam.models import VLAN, VLANGroup from netbox.forms import NetBoxModelForm -from utilities.forms import DynamicModelChoiceField, DynamicModelMultipleChoiceField, SlugField, StaticSelect +from utilities.forms import DynamicModelChoiceField, SlugField, StaticSelect from wireless.models import * __all__ = ( @@ -86,18 +85,8 @@ class WirelessLANForm(NetBoxModelForm): class Meta: model = WirelessLAN fields = [ - 'ssid', - 'group', - 'description', - 'region', - 'site_group', - 'site', - 'vlan_group', - 'vlan', - 'auth_type', - 'auth_cipher', - 'auth_psk', - 'tags', + 'ssid', 'group', 'description', 'region', 'site_group', 'site', 'vlan_group', 'vlan', 'auth_type', + 'auth_cipher', 'auth_psk', 'tags', ] widgets = { 'auth_type': StaticSelect,