git://git.onelab.eu
/
plstackapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc85d02
)
add description field to NetworkTemplate
author
Scott Baker
<smbaker@gmail.com>
Mon, 29 Jul 2013 22:38:54 +0000
(15:38 -0700)
committer
Scott Baker
<smbaker@gmail.com>
Mon, 29 Jul 2013 22:38:54 +0000
(15:38 -0700)
planetstack/core/models/network.py
patch
|
blob
|
history
diff --git
a/planetstack/core/models/network.py
b/planetstack/core/models/network.py
index
6c591f5
..
fddc6e6
100644
(file)
--- a/
planetstack/core/models/network.py
+++ b/
planetstack/core/models/network.py
@@
-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")