Skip to content

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

Remove unused *args

Marcin Gębala99dcb7840aff
diff --git a/saleor/cart/forms.py b/saleor/cart/forms.py
index 3f208f29f5..ac81ff27ba 100644
--- a/saleor/cart/forms.py
+++ b/saleor/cart/forms.py
@@ -9,7 +9,7 @@ from satchless.item import InsufficientStock
class QuantityField(forms.IntegerField):
- def __init__(self, *args, **kwargs):
+ def __init__(self, **kwargs):
super(QuantityField, self).__init__(min_value=0, max_value=999,
initial=1, **kwargs)