Changeset - 1cd08fb373ba
[Not reviewed]
0 1 0
Tobias - 5 years ago 2019-01-24 23:08:37
tobiasschulmann@catalyst.net.nz
Remove hardcoded max limit
1 file changed with 1 insertions and 2 deletions:
0 comments (0 inline, 0 general)
vendor/registrasion/registrasion/forms.py
Show inline comments
...
 
@@ -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
 

	
0 comments (0 inline, 0 general)