aboutsummaryrefslogtreecommitdiffstats
path: root/src/resource_inventory
diff options
context:
space:
mode:
authorSawyer Bergeron <sbergeron@iol.unh.edu>2020-08-28 18:05:22 +0000
committerGerrit Code Review <gerrit@opnfv.org>2020-08-28 18:05:22 +0000
commit836ba6a22ece7590c203c837669b73259f02540a (patch)
tree9875bc6136a6c402e19f47869d66fda0b9eb5094 /src/resource_inventory
parent749eab72b7e47a66db65712f0d8f4ea50b2cf584 (diff)
parentfbe0c42bb85670b98ed412b6b83af01d76681453 (diff)
Merge "Allow creating Networks in Admin"
Diffstat (limited to 'src/resource_inventory')
-rw-r--r--src/resource_inventory/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resource_inventory/models.py b/src/resource_inventory/models.py
index fb3c33e..01da8bb 100644
--- a/src/resource_inventory/models.py
+++ b/src/resource_inventory/models.py
@@ -420,7 +420,7 @@ class Network(models.Model):
class PhysicalNetwork(models.Model):
vlan_id = models.IntegerField()
generic_network = models.ForeignKey(Network, on_delete=models.CASCADE)
- bundle = models.ForeignKey(ResourceBundle, null=True, on_delete=models.CASCADE)
+ bundle = models.ForeignKey(ResourceBundle, null=True, blank=True, on_delete=models.CASCADE)
def get_configuration(self, state):
"""