mirror of
https://github.com/retspen/webvirtcloud
synced 2025-07-31 12:41:08 +00:00
Added is_template attribute to instances. If true, instance cannot be started.
This commit is contained in:
parent
4ab8561360
commit
646bdbbe0e
4 changed files with 39 additions and 3 deletions
|
@ -6,6 +6,7 @@ class Instance(models.Model):
|
|||
compute = models.ForeignKey(Compute)
|
||||
name = models.CharField(max_length=20)
|
||||
uuid = models.CharField(max_length=36)
|
||||
is_template = models.BooleanField(default=False)
|
||||
|
||||
def __unicode__(self):
|
||||
return self.name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue