Checkins should always order top-down by timestamp...
This commit is contained in:
parent
d503e3fe08
commit
c62ba22f13
1 changed files with 3 additions and 0 deletions
|
|
@ -47,6 +47,9 @@ class Checkin(models.Model):
|
||||||
timestamp = models.DateTimeField(auto_now=True)
|
timestamp = models.DateTimeField(auto_now=True)
|
||||||
estimated_time_here = models.CharField(max_length=200, blank=True, null=True)
|
estimated_time_here = models.CharField(max_length=200, blank=True, null=True)
|
||||||
identify_by = models.CharField(max_length=200, blank=True, null=True)
|
identify_by = models.CharField(max_length=200, blank=True, null=True)
|
||||||
|
|
||||||
|
class Meta:
|
||||||
|
ordering = ('-timestamp',)
|
||||||
|
|
||||||
class Tip(models.Model):
|
class Tip(models.Model):
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
Reference in a new issue