add some empty lines for better readability
This commit is contained in:
parent
b15745a3bc
commit
798cee4c58
|
@ -231,6 +231,7 @@ def cart(request):
|
||||||
print('currencies currency_name:', currency_name)
|
print('currencies currency_name:', currency_name)
|
||||||
else:
|
else:
|
||||||
request.session['currency'] = None
|
request.session['currency'] = None
|
||||||
|
|
||||||
# here we react to a change of amount per item in the Cart:
|
# here we react to a change of amount per item in the Cart:
|
||||||
if 'amount_form' in request.POST:
|
if 'amount_form' in request.POST:
|
||||||
amount_form = CartForm(request.POST)
|
amount_form = CartForm(request.POST)
|
||||||
|
@ -244,6 +245,7 @@ def cart(request):
|
||||||
amount,
|
amount,
|
||||||
operation
|
operation
|
||||||
)
|
)
|
||||||
|
|
||||||
# here we react to a change of amount per item in the Cart:
|
# here we react to a change of amount per item in the Cart:
|
||||||
if 'delete' in request.POST:
|
if 'delete' in request.POST:
|
||||||
delete = CartForm(request.POST)
|
delete = CartForm(request.POST)
|
||||||
|
|
Loading…
Reference in New Issue