increased tag count in product model

This commit is contained in:
Sam
2021-02-11 13:29:06 +00:00
parent 83241cd788
commit 82a6273b3d
2 changed files with 10 additions and 6 deletions

View File

@@ -32,9 +32,9 @@ class Product(models.Model):
update_date = models.DateTimeField('Fecha de actualización de producto', null=True, blank=True)
discount = models.DecimalField('Descuento', max_digits=5, decimal_places=2, null=True, blank=True)
stock = models.PositiveIntegerField('Stock', null=True)
tags = TagField(force_lowercase=True,max_count=5, tree=True)
tags = TagField(force_lowercase=True, max_count=20, tree=True)
category = SingleTagField(null=True) # main tag category
attributes = TagField(force_lowercase=True,max_count=5, tree=True)
attributes = TagField(force_lowercase=True, max_count=20, tree=True)
identifiers = models.TextField('Identificador único de producto', null=True, blank=True)
# internal