summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/models.py b/main/models.py
index 62351525..bc236296 100644
--- a/main/models.py
+++ b/main/models.py
@@ -195,6 +195,7 @@ class Package(models.Model):
class Meta:
db_table = 'packages'
get_latest_by = 'last_update'
+ ordering = ('-last_update',)
def __str__(self):
return self.pkgname