From 482fe22d891142e9b380df0a773de4c864cc7877 Mon Sep 17 00:00:00 2001 From: Christopher Neugebauer Date: Mon, 22 Aug 2016 15:03:08 +1000 Subject: [PATCH] Better reporting of errors in long-and-thin categories --- registrasion/forms.py | 1 + 1 file changed, 1 insertion(+) diff --git a/registrasion/forms.py b/registrasion/forms.py index e9ba1282..552ea991 100644 --- a/registrasion/forms.py +++ b/registrasion/forms.py @@ -277,6 +277,7 @@ class _ItemQuantityProductsForm(_ProductsForm): return if product.id == self.cleaned_data[self.CHOICE_FIELD]: + self.add_error(self.CHOICE_FIELD, error) self.add_error(self.QUANTITY_FIELD, error)