Skip to content

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

Merge branch 'change-example-models' of github.com:mirumee/saleor into change-example-models

Artur Smęta9928719632f
diff --cc saleor/product/models.py
index b3080486b7,d5d5ad0c51..35787912e6
--- a/saleor/product/models.py
+++ b/saleor/product/models.py
@@@ -39,11 -39,8 +39,11 @@@ class Category(MPTTModel)
def get_absolute_url(self):
return reverse('product:category', kwargs={'slug': self.slug})
+ class Meta:
+ verbose_name_plural = 'categories'
+
- class Product(Subtyped, Item):
+ class Product(Subtyped, ItemRange):
name = models.CharField(
pgettext_lazy('Product field', 'name'), max_length=128)