forked from uncloud/uncloud
Remove product resolution from /order endpoint
This commit is contained in:
parent
0e28e50bac
commit
b1649a6228
3 changed files with 2 additions and 38 deletions
|
|
@ -60,13 +60,6 @@ class Order(models.Model):
|
|||
choices = RecurringPeriod.choices,
|
||||
default = RecurringPeriod.PER_MONTH)
|
||||
|
||||
@property
|
||||
def products(self):
|
||||
# Blows up due to circular dependency...
|
||||
# vms = VMProduct.objects.filter(order=self)
|
||||
vms = []
|
||||
return vms
|
||||
|
||||
# def amount(self):
|
||||
# amount = recurring_price
|
||||
# if recurring and first_month:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue