Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Remove unnecessary broken add_error method.
Marc Tamlyn943607e76afa
diff --git a/saleor/cart/forms.py b/saleor/cart/forms.pyindex 4058c26b7e..6754f49f6d 100644--- a/saleor/cart/forms.py+++ b/saleor/cart/forms.py@@ -72,10 +72,6 @@ class AddToCartForm(forms.Form):def get_variant(self, cleaned_data):raise NotImplementedError()- def add_error(self, name, value):- errors = self.errors.setdefault(name, self.error_class())- errors.append(value)-class ReplaceCartLineForm(AddToCartForm):"""Replace quantity form