diff options
author | Dusty Phillips <buchuki@gmail.com> | 2008-06-19 19:18:44 -0400 |
---|---|---|
committer | Dusty Phillips <buchuki@gmail.com> | 2008-06-19 19:18:44 -0400 |
commit | 4ee5f0862be1d13f69e4ddf552e415eb0f40061f (patch) | |
tree | c647c8878322cf68e5785c507a58d1ef0f6a9642 /main | |
parent | 202e71d0494d24b3328eb6f0fa039f732d01ef15 (diff) |
order by last update on package view
Diffstat (limited to 'main')
-rw-r--r-- | main/models.py | 1 |
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 |