git://git.onelab.eu
/
plstackapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c3bdfd
)
allow null ip address
author
Scott Baker
<smbaker@gmail.com>
Tue, 30 Jul 2013 00:33:21 +0000
(17:33 -0700)
committer
Scott Baker
<smbaker@gmail.com>
Tue, 30 Jul 2013 00:33:21 +0000
(17:33 -0700)
planetstack/core/models/network.py
patch
|
blob
|
history
diff --git
a/planetstack/core/models/network.py
b/planetstack/core/models/network.py
index
fddc6e6
..
f0b2846
100644
(file)
--- a/
planetstack/core/models/network.py
+++ b/
planetstack/core/models/network.py
@@
-44,7
+44,7
@@
class Network(PlCoreBase):
class NetworkSliver(PlCoreBase):
network = models.ForeignKey(Network)
sliver = models.ForeignKey(Sliver)
- ip = models.GenericIPAddressField(help_text="Sliver ip address", blank=True)
+ ip = models.GenericIPAddressField(help_text="Sliver ip address", blank=True
, null=True
)
def save(self, *args, **kwds):
if (not self.ip) and (NO_OBSERVER):