From cfc1210a9ab02aa7452ffad8632f9c8180a27e3a Mon Sep 17 00:00:00 2001 From: PCoder Date: Fri, 7 Jul 2017 00:12:29 +0530 Subject: [PATCH] We probably need creating HostingBill --- hosting/views.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/hosting/views.py b/hosting/views.py index a5cea6c9..e0554ebf 100644 --- a/hosting/views.py +++ b/hosting/views.py @@ -561,9 +561,8 @@ class PaymentVMView(LoginRequiredMixin, FormView): ) # Create a Hosting Bill - # variable bill is not used - # bill = HostingBill.create( - # customer=customer, billing_address=billing_address) + HostingBill.create( + customer=customer, billing_address=billing_address) # Create Billing Address for User if he does not have one if not customer.user.billing_addresses.count():