diff options
author | luxagraf <sng@luxagraf.net> | 2016-02-10 20:26:45 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2016-02-10 20:26:45 -0500 |
commit | 3b6588ec9bdcc9a2a0099b5568923485079a4dec (patch) | |
tree | 7062660118ae519e96beb5502ab2954066fb32e5 | |
parent | 1d75b3632a649014558b8d07f397375a33b68aaa (diff) |
changed default sort order for dailies
-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): |