mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-20 19:19:22 -06:00
9892 add name to str
This commit is contained in:
parent
5ce805db2e
commit
10cb3c2c3d
@ -59,7 +59,7 @@ class FHRPGroup(NetBoxModel):
|
||||
verbose_name = 'FHRP group'
|
||||
|
||||
def __str__(self):
|
||||
name = f'{self.get_protocol_display()}: {self.group_id}'
|
||||
name = f'{self.name} {self.get_protocol_display()}: {self.group_id}'
|
||||
|
||||
# Append the first assigned IP addresses (if any) to serve as an additional identifier
|
||||
if self.pk:
|
||||
|
Loading…
Reference in New Issue
Block a user