Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix review remark
fowczarek912dc3c7ac6d
diff --git a/saleor/graphql/schema.graphql b/saleor/graphql/schema.graphqlindex 6c65f05560..b578c49e6d 100644--- a/saleor/graphql/schema.graphql+++ b/saleor/graphql/schema.graphql@@ -419,7 +419,7 @@ type Collection implements Node {products(before: String, after: String, first: Int, last: Int): ProductCountableConnectionbackgroundImage: ImageisPublished: Boolean!- description: String+ description: String!}type CollectionAddProducts {diff --git a/saleor/product/migrations/0078_auto_20181119_0535.py b/saleor/product/migrations/0078_auto_20181120_0437.pysimilarity index 72%rename from saleor/product/migrations/0078_auto_20181119_0535.pyrename to saleor/product/migrations/0078_auto_20181120_0437.pyindex 08882e82e2..d3c6176f99 100644--- a/saleor/product/migrations/0078_auto_20181119_0535.py+++ b/saleor/product/migrations/0078_auto_20181120_0437.py@@ -1,4 +1,4 @@-# Generated by Django 2.1.3 on 2018-11-19 11:35+# Generated by Django 2.1.3 on 2018-11-20 10:37from django.db import migrations, models@@ -13,11 +13,11 @@ class Migration(migrations.Migration):migrations.AddField(model_name='collection',name='description',- field=models.TextField(blank=True, null=True),+ field=models.TextField(blank=True),),migrations.AddField(model_name='collectiontranslation',name='description',- field=models.TextField(blank=True, null=True),+ field=models.TextField(blank=True),),]diff --git a/saleor/product/models.py b/saleor/product/models.pyindex 6084f9b7e7..59b6d79fff 100644--- a/saleor/product/models.py+++ b/saleor/product/models.py@@ -453,7 +453,7 @@ class Collection(SeoModel):background_image = VersatileImageField(upload_to='collection-backgrounds', blank=True, null=True)is_published = models.BooleanField(default=False)- description = models.TextField(blank=True, null=True)+ description = models.TextField(blank=True)objects = CollectionQuerySet.as_manager()translated = TranslationProxy()@@ -476,7 +476,7 @@ class CollectionTranslation(SeoModelTranslation):Collection, related_name='translations',on_delete=models.CASCADE)name = models.CharField(max_length=128)- description = models.TextField(blank=True, null=True)+ description = models.TextField(blank=True)class Meta:unique_together = (('language_code', 'collection'),)