mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-22 20:12:00 -06:00
fix for #10086 - change capitalization on wireless link table for Interface A, B and Auth Type
This commit is contained in:
parent
804c064a7e
commit
ea1467add7
@ -23,7 +23,8 @@ class WirelessAuthenticationBase(models.Model):
|
||||
auth_type = models.CharField(
|
||||
max_length=50,
|
||||
choices=WirelessAuthTypeChoices,
|
||||
blank=True
|
||||
blank=True,
|
||||
verbose_name="Auth Type",
|
||||
)
|
||||
auth_cipher = models.CharField(
|
||||
max_length=50,
|
||||
@ -134,13 +135,15 @@ class WirelessLink(WirelessAuthenticationBase, NetBoxModel):
|
||||
to='dcim.Interface',
|
||||
limit_choices_to={'type__in': WIRELESS_IFACE_TYPES},
|
||||
on_delete=models.PROTECT,
|
||||
related_name='+'
|
||||
related_name='+',
|
||||
verbose_name="Interface A",
|
||||
)
|
||||
interface_b = models.ForeignKey(
|
||||
to='dcim.Interface',
|
||||
limit_choices_to={'type__in': WIRELESS_IFACE_TYPES},
|
||||
on_delete=models.PROTECT,
|
||||
related_name='+'
|
||||
related_name='+',
|
||||
verbose_name="Interface B",
|
||||
)
|
||||
ssid = models.CharField(
|
||||
max_length=SSID_MAX_LENGTH,
|
||||
|
Loading…
Reference in New Issue
Block a user