Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Removed max_value from QuantityField
Artur Smęt27b507111356
diff --git a/saleor/cart/forms.py b/saleor/cart/forms.pyindex 9071d5e305..821fba0950 100644--- a/saleor/cart/forms.py+++ b/saleor/cart/forms.py@@ -11,8 +11,7 @@ from satchless.item import InsufficientStockclass QuantityField(forms.IntegerField):def __init__(self, *args, **kwargs):- super(QuantityField, self).__init__(min_value=0,- max_value=None, initial=1)+ super(QuantityField, self).__init__(min_value=0, initial=1)class AddToCartForm(forms.Form):