From: Tony Mack Date: Tue, 8 Apr 2014 20:37:56 +0000 (-0400) Subject: rename openstack network_id field to net_id to avoid conflict with django network_id... X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=457c84c0ed27f679e2609d6816bc021e5b05abf7;p=plstackapi.git rename openstack network_id field to net_id to avoid conflict with django network_id foreign key field --- 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)