mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
REST API optimizations
This commit is contained in:
@ -95,3 +95,6 @@ class FHRPGroupAssignment(ChangeLoggedModel):
|
||||
ordering = ('priority', 'pk')
|
||||
unique_together = ('content_type', 'object_id', 'group')
|
||||
verbose_name = 'FHRP group assignment'
|
||||
|
||||
def __str__(self):
|
||||
return f'{self.object}: {self.group} ({self.priority})'
|
||||
|
Reference in New Issue
Block a user