Fix price calculation

This commit is contained in:
Modulos 2017-05-14 02:17:48 +02:00
commit 46b918d175
2 changed files with 2 additions and 2 deletions

View file

@ -41,7 +41,7 @@ class HostingPlan(models.Model):
for cfg in cls.objects.all()]
def price(self):
price = self.disk_size * 0.2
price = self.disk_size * 0.6
price += self.cpu_cores * 5
price += self.memory * 2
return price