mirror of
https://github.com/retspen/webvirtcloud.git
synced 2026-05-26 07:08:05 +00:00
Added is_template attribute to instances. If true, instance cannot be started.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user