1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Finished VirtualChassis list view

This commit is contained in:
Jeremy Stretch
2018-02-21 09:53:23 -05:00
parent 5412a9f8ea
commit 84bb977d2e
7 changed files with 88 additions and 2 deletions

View File

@@ -1645,6 +1645,10 @@ class VirtualChassis(models.Model):
blank=True
)
class Meta:
ordering = ['master']
verbose_name_plural = 'virtual chassis'
def __str__(self):
return str(self.master) if hasattr(self, 'master') else 'New Virtual Chassis'