Kaynağa Gözat

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

jeremystretch 4 yıl önce
ebeveyn
işleme
988383648c

+ 1 - 0
docs/release-notes/version-3.1.md

@@ -6,6 +6,7 @@
 
 * [#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
+* [#8001](https://github.com/netbox-community/netbox/issues/8001) - Correct verbose name for wireless LAN group model
 
 ---
 

+ 1 - 0
netbox/wireless/migrations/0001_wireless.py

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

+ 1 - 0
netbox/wireless/models.py

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