forked from uncloud/uncloud
Indentation/Spacing fixes
This commit is contained in:
parent
afdba3d7d9
commit
0c3e6d10ae
1 changed files with 6 additions and 6 deletions
|
@ -35,15 +35,15 @@ class VMHost(models.Model):
|
||||||
# ram that can be used of the server
|
# ram that can be used of the server
|
||||||
usable_ram_in_gb = models.FloatField(default=0)
|
usable_ram_in_gb = models.FloatField(default=0)
|
||||||
|
|
||||||
status = models.CharField(max_length=32, choices=STATUS_CHOICES, default=STATUS_DEFAULT)
|
status = models.CharField(
|
||||||
|
max_length=32, choices=STATUS_CHOICES, default=STATUS_DEFAULT
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
class VMProduct(Product):
|
class VMProduct(Product):
|
||||||
vmhost = models.ForeignKey(VMHost,
|
vmhost = models.ForeignKey(
|
||||||
on_delete=models.CASCADE,
|
VMHost, on_delete=models.CASCADE, editable=False, blank=True, null=True
|
||||||
editable=False,
|
)
|
||||||
blank=True,
|
|
||||||
null=True)
|
|
||||||
|
|
||||||
cores = models.IntegerField()
|
cores = models.IntegerField()
|
||||||
ram_in_gb = models.FloatField()
|
ram_in_gb = models.FloatField()
|
||||||
|
|
Loading…
Reference in a new issue