diff --git a/uncloud/uncloud_vm/models.py b/uncloud/uncloud_vm/models.py index e54c4ea..4b0d511 100644 --- a/uncloud/uncloud_vm/models.py +++ b/uncloud/uncloud_vm/models.py @@ -35,15 +35,15 @@ class VMHost(models.Model): # ram that can be used of the server 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): - vmhost = models.ForeignKey(VMHost, - on_delete=models.CASCADE, - editable=False, - blank=True, - null=True) + vmhost = models.ForeignKey( + VMHost, on_delete=models.CASCADE, editable=False, blank=True, null=True + ) cores = models.IntegerField() ram_in_gb = models.FloatField()