diff options
Diffstat (limited to 'app/ebay')
-rw-r--r-- | app/ebay/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/ebay/models.py b/app/ebay/models.py index 26b004e..f361b7a 100644 --- a/app/ebay/models.py +++ b/app/ebay/models.py @@ -34,7 +34,7 @@ class TrackedItem(models.Model): date_ending = models.DateTimeField(default=timezone.now) class Meta: - ordering = ('-date_ending', 'amount_desired') + ordering = ('date_ending', 'amount_desired') get_latest_by = 'date_ending' def save(self, **kwargs): |