serialized tags working
This commit is contained in:
@@ -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( )
|
||||
category = SingleTagField() # main tag category
|
||||
attributes = TagField()
|
||||
tags = TagField(force_lowercase=True,max_count=5, tree=True)
|
||||
category = SingleTagField(null=True) # main tag category
|
||||
attributes = TagField(force_lowercase=True,max_count=5, tree=True)
|
||||
identifiers = models.TextField('Identificador único de producto', null=True, blank=True)
|
||||
|
||||
# internal
|
||||
|
||||
Reference in New Issue
Block a user