mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Added front-end UI for RackGroups
This commit is contained in:
@@ -142,6 +142,9 @@ class RackGroup(models.Model):
|
||||
def __unicode__(self):
|
||||
return self.name
|
||||
|
||||
def get_absolute_url(self):
|
||||
return "{}?group={}".format(reverse('dcim:rack_list'), self.slug)
|
||||
|
||||
|
||||
class Rack(models.Model):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user