From 6e54bdec0dbba570187460d524a120482ee8d546 Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Sun, 25 Feb 2018 14:22:22 +0100 Subject: [PATCH] fix comment indents --- django/didgeridoo/webshop/views.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/django/didgeridoo/webshop/views.py b/django/didgeridoo/webshop/views.py index 0620ee8..9eae777 100644 --- a/django/didgeridoo/webshop/views.py +++ b/django/didgeridoo/webshop/views.py @@ -260,7 +260,7 @@ def cart(request): operation ) -# here we handle the normal cart view: + # here we handle the normal cart view: # if cart_id is not existent create a cart: cart_id, created_cart = ShoppingCart.objects.get_or_create(user=user_id) # get all items in the cart of this customer: @@ -320,12 +320,12 @@ def checkout(request): total = 0 user_id = request.user.id cart_position_list_zip = [] -# here we configure the users Currency: + # here we configure the users Currency: if 'currency' not in request.session: request.session['currency'] = None else: currency = request.session['currency'] -# Here we handle all POST Operations: + # Here we handle all POST Operations: if request.method == 'POST': # here we react to a currency dropdown change: if 'currencies' in request.POST: @@ -369,7 +369,7 @@ def checkout(request): amount, operation ) -# here we handle the normal cart view: + # here we handle the normal cart view: # if cart_id is not existent create a cart: cart_id, created_cart = ShoppingCart.objects.get_or_create(user=user_id) # get all items in the cart of this customer: