Changeset - 00f87e30b7b3
[Not reviewed]
0 1 0
Christopher Neugebauer - 8 years ago 2016-04-25 06:16:22
chrisjrn@gmail.com
Adds an upper limit on quantity boxes (it’s set to 500 for the moment though).

Closes #19.
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
registrasion/forms.py
Show inline comments
...
 
@@ -100,6 +100,7 @@ class _QuantityBoxProductsForm(_ProductsForm):
 
                label=product.name,
 
                help_text=help_text,
 
                min_value=0,
 
                max_value=500,  # Issue #19. We should figure out real limit.
 
            )
 
            cls.base_fields[cls.field_name(product)] = field
 

	
0 comments (0 inline, 0 general)