working on ordering products by created date
This commit is contained in:
@@ -33,9 +33,9 @@ class Product(models.Model):
|
||||
sourcing_date = models.DateTimeField('Fecha de importación original de producto', null=True, blank=True)
|
||||
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)
|
||||
stock = models.PositiveIntegerField('Stock', null=True, blank=True)
|
||||
tags = TagField(to=TreeTag)
|
||||
category = SingleTagField(blank=True, null=True) # main tag category
|
||||
category = SingleTagField(null=True, blank=True) # main tag category
|
||||
attributes = TagField(to=TreeTag, related_name='product_attributes')
|
||||
identifiers = models.TextField('Identificador único de producto', null=True, blank=True)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user