Do not update ho -> doing so, crashes
This commit is contained in:
parent
8443e03b1f
commit
a395b7a4a6
1 changed files with 0 additions and 2 deletions
|
@ -1344,8 +1344,6 @@ class InvoiceListView(LoginRequiredMixin, TemplateView):
|
||||||
)
|
)
|
||||||
stripe_chgs = []
|
stripe_chgs = []
|
||||||
for ho in hosting_orders:
|
for ho in hosting_orders:
|
||||||
ho.generic_product.product_name = ho.generic_product.product_name.capitalize()
|
|
||||||
ho.created = ho.created.strftime('%Y-%m-%d')
|
|
||||||
stripe_chgs.append(
|
stripe_chgs.append(
|
||||||
{ho: stripe.Charge.retrieve(ho.stripe_charge_id)})
|
{ho: stripe.Charge.retrieve(ho.stripe_charge_id)})
|
||||||
paginator_charges = Paginator(stripe_chgs, 10)
|
paginator_charges = Paginator(stripe_chgs, 10)
|
||||||
|
|
Loading…
Reference in a new issue