integration starts to work

This commit is contained in:
Sam
2021-02-16 13:23:40 +00:00
parent 6e54d513c9
commit abd0c6312c
3 changed files with 25 additions and 15 deletions

View File

@@ -35,7 +35,7 @@ class Product(models.Model):
discount = models.DecimalField('Descuento', max_digits=5, decimal_places=2, null=True, blank=True)
stock = models.PositiveIntegerField('Stock', null=True)
tags = TagField(to=TreeTag)
category = SingleTagField(null=True) # main tag category
category = SingleTagField(blank=True, null=True) # main tag category
attributes = TagField(to=TreeTag, related_name='product_attributes')
identifiers = models.TextField('Identificador único de producto', null=True, blank=True)