working on ordering products by created date
This commit is contained in:
@@ -17,11 +17,11 @@ class StatsLog(models.Model):
|
||||
action_object_object_id = models.CharField(max_length=255, blank=True, null=True)
|
||||
action_object = GenericForeignKey('action_object_content_type', 'action_object_object_id')
|
||||
user = models.ForeignKey(User, on_delete=models.DO_NOTHING, null=True)
|
||||
anonymous = models.BooleanField('Usuario no registrado', null=True)
|
||||
anonymous = models.BooleanField('Usuario no registrado', null=True, blank=True)
|
||||
ip_address = models.GenericIPAddressField('IP usuario', null=True, blank=True)
|
||||
geo = models.PointField('Ubicación aproximada', null=True, blank=True )
|
||||
contact = models.BooleanField('Empresa contactada', null=True)
|
||||
shop = models.BooleanField('Redirigido por botón "Comprar"', null=True)
|
||||
contact = models.BooleanField('Empresa contactada', null=True, blank=True)
|
||||
shop = models.BooleanField('Redirigido por botón "Comprar"', null=True, blank=True)
|
||||
|
||||
# internal
|
||||
created = models.DateTimeField('date of creation', auto_now_add=True)
|
||||
|
||||
Reference in New Issue
Block a user