Remove product resolution from /order endpoint

This commit is contained in:
fnux 2020-02-27 20:37:19 +01:00
commit b1649a6228
3 changed files with 2 additions and 38 deletions

View file

@ -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: