From 76bbaf131feb39dcea1d8b70a039dba223929704 Mon Sep 17 00:00:00 2001 From: Scott Baker Date: Mon, 29 Jul 2013 17:33:21 -0700 Subject: [PATCH] allow null ip address --- planetstack/core/models/network.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/planetstack/core/models/network.py b/planetstack/core/models/network.py index fddc6e6..f0b2846 100644 --- 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): -- 2.47.0