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

Added CBVs for RIRs

This commit is contained in:
Jeremy Stretch
2016-05-16 13:04:45 -04:00
parent b481935b9a
commit e1a0b8fee6
8 changed files with 129 additions and 7 deletions

View File

@@ -91,6 +91,9 @@ class RIR(models.Model):
def __unicode__(self):
return self.name
def get_absolute_url(self):
return "{}?rir={}".format(reverse('ipam:aggregate_list'), self.slug)
class Aggregate(models.Model):
"""