Changed hostingorder to m2m with vm plan model
This commit is contained in:
parent
a99ea335c8
commit
90aca7c25c
3 changed files with 22 additions and 1 deletions
|
|
@ -110,7 +110,7 @@ class HostingOrder(models.Model):
|
|||
ORDER_APPROVED_STATUS = 'Approved'
|
||||
ORDER_DECLINED_STATUS = 'Declined'
|
||||
|
||||
VMPlan = models.OneToOneField(VirtualMachinePlan)
|
||||
VMPlan = models.ForeignKey(VirtualMachinePlan)
|
||||
customer = models.ForeignKey(StripeCustomer)
|
||||
billing_address = models.ForeignKey(BillingAddress)
|
||||
created_at = models.DateTimeField(auto_now_add=True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue