Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Exclude 'order' from ProductImageForm
Marcin Gębala105b26b769f2
diff --git a/saleor/dashboard/product/forms.py b/saleor/dashboard/product/forms.pyindex 634e0e54fd..371f8a739f 100644--- a/saleor/dashboard/product/forms.py+++ b/saleor/dashboard/product/forms.py@@ -1,6 +1,7 @@from __future__ import unicode_literalsfrom django import forms+from django.forms.formsets import formset_factoryfrom django.forms.models import inlineformset_factoryfrom django.forms.widgets import ClearableFileInput@@ -80,4 +81,4 @@ def get_variant_formset(product):class ProductImageForm(forms.ModelForm):class Meta:model = ProductImage- exclude = ('product',)\ No newline at end of file+ exclude = ('product', 'order')