commit | f79ad8e6cccafcf463a7817e6b648b46c85d52eb | [log] [tgz] |
---|---|---|
author | Tony Mack <tmack@paris.CS.Princeton.EDU> | Fri Apr 12 13:52:44 2013 -0400 |
committer | Tony Mack <tmack@paris.CS.Princeton.EDU> | Fri Apr 12 13:52:44 2013 -0400 |
tree | 29c00bb2427c955b7fa9b65240341ae8a827ea93 | |
parent | 5d8d9fdd033b8cb081b2dae05e0c2c42bee42699 [diff] [blame] |
fix bug
diff --git a/plstackapi/core/models/subnet.py b/plstackapi/core/models/subnet.py index 4ea2c40..fc16eec 100644 --- a/plstackapi/core/models/subnet.py +++ b/plstackapi/core/models/subnet.py
@@ -14,5 +14,5 @@ end = models.IPAddressField() slice = models.ForeignKey(Slice, related_name='subnet') - def __unicode__(self): return u'%s' % (self.name) + def __unicode__(self): return u'%s' % (self.slice.name)