From 1cd08fb373ba12dc1ed9f84e7fa74ff69b778b18 Mon Sep 17 00:00:00 2001 From: Tobias Date: Fri, 25 Jan 2019 12:08:37 +1300 Subject: [PATCH] Remove hardcoded max limit --- vendor/registrasion/registrasion/forms.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vendor/registrasion/registrasion/forms.py b/vendor/registrasion/registrasion/forms.py index 32575080..c947962b 100644 --- a/vendor/registrasion/registrasion/forms.py +++ b/vendor/registrasion/registrasion/forms.py @@ -184,8 +184,7 @@ class _QuantityBoxProductsForm(_ProductsForm): field = forms.IntegerField( label=product.name, help_text=help_text, - min_value=0, - max_value=500, # Issue #19. We should figure out real limit. + min_value=0 ) cls.base_fields[cls.field_name(product)] = field