commit | 771f4b90f36fadc1f72b3311eb861e3d22654d3a | [log] [tgz] |
---|---|---|
author | Tony Mack <tmack@paris.CS.Princeton.EDU> | Fri Apr 12 01:49:57 2013 -0400 |
committer | Tony Mack <tmack@paris.CS.Princeton.EDU> | Fri Apr 12 01:49:57 2013 -0400 |
tree | 4d67c05ca8e510d2439749ed78038235d158bada | |
parent | 5df6c559661cb9a080b60519550084a516ab98db [diff] [blame] |
fix bugs
diff --git a/plstackapi/core/models/subnet.py b/plstackapi/core/models/subnet.py index 70f8176..4ea2c40 100644 --- a/plstackapi/core/models/subnet.py +++ b/plstackapi/core/models/subnet.py
@@ -12,7 +12,7 @@ ip_version = models.IntegerField() start = models.IPAddressField() end = models.IPAddressField() - slice = models.ForeignKey(Slice, related_name='slice_subnet') + slice = models.ForeignKey(Slice, related_name='subnet') def __unicode__(self): return u'%s' % (self.name)