Fix price calculation
This commit is contained in:
parent
f80496a103
commit
46b918d175
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue