add some empty lines for readability
This commit is contained in:
parent
a232ca414c
commit
865ff557bd
|
@ -374,10 +374,12 @@ def checkout(request):
|
||||||
cart_position.calculate_position_price()
|
cart_position.calculate_position_price()
|
||||||
totalprice_list.append(cart_position.position_price)
|
totalprice_list.append(cart_position.position_price)
|
||||||
cart_position_list[idx] = cart_position
|
cart_position_list[idx] = cart_position
|
||||||
|
|
||||||
else:
|
else:
|
||||||
message = """something whent wrong.
|
message = """something whent wrong.
|
||||||
Seams like your cart was
|
Seams like your cart was
|
||||||
not existent before. How come? """
|
not existent before. How come? """
|
||||||
|
|
||||||
total = sum(totalprice_list)
|
total = sum(totalprice_list)
|
||||||
|
|
||||||
return render(request, 'webshop/checkout.html',
|
return render(request, 'webshop/checkout.html',
|
||||||
|
|
Loading…
Reference in New Issue