diff --git a/products/models.py b/products/models.py index 63ad73a..50cde7f 100644 --- a/products/models.py +++ b/products/models.py @@ -64,6 +64,7 @@ class Product(models.Model): category = SingleTagField(to=CategoryTag, null=True, blank=True, on_delete=models.SET_NULL) # main tag category attributes = TagField(to=AttributeTag, blank=True, related_name='product_attributes') identifiers = models.TextField('Identificador Ășnico de producto', null=True, blank=True) + active = models.BooleanField('Mostrar producto', default=False) # internal created = models.DateTimeField('date of creation', auto_now_add=True)