We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd128e5 commit b6fe613Copy full SHA for b6fe613
netbox/ipam/models/fhrp.py
@@ -93,3 +93,9 @@ class Meta:
93
94
def __str__(self):
95
return f'{self.interface}: {self.group} ({self.priority})'
96
+
97
+ def get_absolute_url(self):
98
+ # Used primarily for redirection after creating a new assignment
99
+ if self.interface:
100
+ return self.interface.get_absolute_url()
101
+ return None
0 commit comments