Skip to content

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

Fix review remarks

oldPadavan4b218c0f431c
diff --git a/saleor/dashboard/collection/forms.py b/saleor/dashboard/collection/forms.py
index 0636989da1..0c250064a4 100644
--- a/saleor/dashboard/collection/forms.py
+++ b/saleor/dashboard/collection/forms.py
@@ -48,5 +48,5 @@ class AssignHomepageCollectionForm(forms.ModelForm):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
- self.fields['homepage_collection'].queryset = Collection.objects.\
- filter(is_published=True)
+ self.fields['homepage_collection'].queryset = \
+ Collection.objects.filter(is_published=True)