summaryrefslogtreecommitdiff
path: root/main/models.py
diff options
context:
space:
mode:
authorDusty Phillips <buchuki@gmail.com>2008-11-15 15:42:33 -0500
committerDusty Phillips <buchuki@gmail.com>2008-11-15 15:42:33 -0500
commit0dbde37b205694d8d86306557e132b2ee8eb9999 (patch)
tree8e22c73c99ba445ea7d47486341c00dee208a46c /main/models.py
parent2f9d725b022e869407e4dbc5f705594db1d15e11 (diff)
alphabetical order on maintainers and packages
Diffstat (limited to 'main/models.py')
-rw-r--r--main/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/models.py b/main/models.py
index 8123d074..d48aa364 100644
--- a/main/models.py
+++ b/main/models.py
@@ -144,6 +144,7 @@ class Package(models.Model):
objects = PackageManager()
class Meta:
db_table = 'packages'
+ ordering = ('pkgname',)
#get_latest_by = 'last_update'
#ordering = ('-last_update',)