From cfa588f3b319a637297487feabbd2655fc05d1f4 Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Wed, 21 Feb 2018 21:11:26 +0100 Subject: [PATCH] correct the variable name With the wrong name the cart crashes at the first run --- django/didgeridoo/webshop/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/didgeridoo/webshop/views.py b/django/didgeridoo/webshop/views.py index 2fca7e7..4e3e67d 100644 --- a/django/didgeridoo/webshop/views.py +++ b/django/didgeridoo/webshop/views.py @@ -210,7 +210,7 @@ def registration(request): def cart(request): category_list = get_categories() currencies_form = CurrenciesForm - cart_form = CartForm + amount_form = CartForm rate = ExchangeRate article_view = True currency_name = "CHF"