add some empty lines for better readability

This commit is contained in:
Andreas Zweili 2018-02-25 21:33:34 +01:00
parent b15745a3bc
commit 798cee4c58
1 changed files with 2 additions and 0 deletions

View File

@ -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)