Indentation/Spacing fixes

This commit is contained in:
ahmadbilalkhalid 2020-03-02 17:20:30 +05:00
parent afdba3d7d9
commit 0c3e6d10ae

View file

@ -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()