Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Add kwargs

Marcin Gębala6220714eb53c
diff --git a/saleor/cart/forms.py b/saleor/cart/forms.py
index 09f9883e55..3f208f29f5 100644
--- a/saleor/cart/forms.py
+++ b/saleor/cart/forms.py
@@ -11,7 +11,7 @@ class QuantityField(forms.IntegerField):
def __init__(self, *args, **kwargs):
super(QuantityField, self).__init__(min_value=0, max_value=999,
- initial=1)
+ initial=1, **kwargs)
class AddToCartForm(forms.Form):