Renamed opennebula_vm_id to opennebula_vm_template_id
This commit is contained in:
parent
762c8b14cc
commit
71e4fece58
1 changed files with 3 additions and 3 deletions
|
@ -53,9 +53,9 @@ class BetaAccessVM(models.Model):
|
||||||
|
|
||||||
class VMTemplate(models.Model):
|
class VMTemplate(models.Model):
|
||||||
name = models.CharField(max_length=50)
|
name = models.CharField(max_length=50)
|
||||||
opennebula_vm_id = models.IntegerField()
|
opennebula_vm_template_id = models.IntegerField()
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def create(cls, name, opennebula_vm_id):
|
def create(cls, name, opennebula_vm_template_id):
|
||||||
vm_template = cls(name=name, opennebula_vm_id=opennebula_vm_id)
|
vm_template = cls(name=name, opennebula_vm_template_id=opennebula_vm_template_id)
|
||||||
return vm_template
|
return vm_template
|
||||||
|
|
Loading…
Reference in a new issue