Fixes #8001: Correct verbose name for wireless LAN group model

This commit is contained in:
jeremystretch 2021-12-08 10:45:27 -05:00
parent ae03db4f13
commit 1c79e87aa2
3 changed files with 3 additions and 0 deletions

View File

@ -6,6 +6,7 @@
* [#7990](https://github.com/netbox-community/netbox/issues/7990) - Fix `title` display on contact detail view * [#7990](https://github.com/netbox-community/netbox/issues/7990) - Fix `title` display on contact detail view
* [#7996](https://github.com/netbox-community/netbox/issues/7996) - Show WWN field in interface creation form * [#7996](https://github.com/netbox-community/netbox/issues/7996) - Show WWN field in interface creation form
* [#8001](https://github.com/netbox-community/netbox/issues/8001) - Correct verbose name for wireless LAN group model
--- ---

View File

@ -36,6 +36,7 @@ class Migration(migrations.Migration):
options={ options={
'ordering': ('name', 'pk'), 'ordering': ('name', 'pk'),
'unique_together': {('parent', 'name')}, 'unique_together': {('parent', 'name')},
'verbose_name': 'Wireless LAN Group',
}, },
), ),
migrations.CreateModel( migrations.CreateModel(

View File

@ -72,6 +72,7 @@ class WirelessLANGroup(NestedGroupModel):
unique_together = ( unique_together = (
('parent', 'name') ('parent', 'name')
) )
verbose_name = 'Wireless LAN Group'
def __str__(self): def __str__(self):
return self.name return self.name