From 29689fd16adccefdcf67f40ccc3435c763f548b9 Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Mon, 26 Feb 2018 22:32:46 +0100 Subject: [PATCH] set the exchange_rate variable to False initially Since we start with CHF by default the exchange_rate variable should be False --- django/didgeridoo/webshop/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/django/didgeridoo/webshop/views.py b/django/didgeridoo/webshop/views.py index 04e4fea..8a9b395 100644 --- a/django/didgeridoo/webshop/views.py +++ b/django/didgeridoo/webshop/views.py @@ -317,6 +317,7 @@ def checkout(request): rate = ExchangeRate article_view = False currency_name = "CHF" + exchange_rate = False message = "" cart_position_list = [] totalprice_list = []