diff options
Diffstat (limited to 'app/daily')
-rw-r--r-- | app/daily/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/daily/models.py b/app/daily/models.py index a0a6d5b..1bf7bfd 100644 --- a/app/daily/models.py +++ b/app/daily/models.py @@ -74,7 +74,7 @@ class Daily(models.Model): date = models.DateField() class Meta: - ordering = ('date',) + ordering = ('-date',) get_latest_by = 'date' def __str__(self): |