From 457c84c0ed27f679e2609d6816bc021e5b05abf7 Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Tue, 8 Apr 2014 16:37:56 -0400 Subject: [PATCH] rename openstack network_id field to net_id to avoid conflict with django network_id foreign key field --- 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 c76004b..298c54d 100644 --- a/planetstack/core/models/network.py +++ b/planetstack/core/models/network.py @@ -67,7 +67,7 @@ class NetworkDeployments(PlCoreBase): # Stores the openstack ids at various deployments network = models.ForeignKey(Network) deployment = models.ForeignKey(Deployment) - network_id = models.CharField(null=True, blank=True, max_length=256, help_text="Quantum network") + net_id = models.CharField(null=True, blank=True, max_length=256, help_text="Quantum network") router_id = models.CharField(null=True, blank=True, max_length=256, help_text="Quantum router id") subnet_id = models.CharField(null=True, blank=True, max_length=256, help_text="Quantum subnet id") subnet = models.CharField(max_length=32, blank=True) -- 2.45.2