add description field to NetworkTemplate
authorScott Baker <smbaker@gmail.com>
Mon, 29 Jul 2013 22:38:54 +0000 (15:38 -0700)
committerScott Baker <smbaker@gmail.com>
Mon, 29 Jul 2013 22:38:54 +0000 (15:38 -0700)
planetstack/core/models/network.py

index 6c591f5..fddc6e6 100644 (file)
@@ -13,6 +13,7 @@ class NetworkTemplate(PlCoreBase):
     VISIBILITY_CHOICES = (('public', 'public'), ('private', 'private'))
 
     name = models.CharField(max_length=32)
+    description = models.CharField(max_length=1024, blank=True, null=True)
     guaranteedBandwidth = models.IntegerField(default=0)
     visibility = models.CharField(max_length=30, choices=VISIBILITY_CHOICES, default="private")