mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Changelog for #8543 & cleanup
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user