diff options
author | eliott <eliott@cactuswax.net> | 2007-11-17 19:23:38 +0100 |
---|---|---|
committer | eliott <eliott@cactuswax.net> | 2007-11-17 19:26:16 +0100 |
commit | 50283888bfc75b6f7d12ad99950be00d8cb486c8 (patch) | |
tree | 29ffe170c63b7ca1aa76d645b5bf47417e9255f7 | |
parent | 9bf2490514596ed5d23c414ffebe336d936b1e03 (diff) | |
download | archweb-50283888bfc75b6f7d12ad99950be00d8cb486c8.tar.gz archweb-50283888bfc75b6f7d12ad99950be00d8cb486c8.tar.xz |
Fix for FS#8547
-rw-r--r-- | packages/models.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/models.py b/packages/models.py index c1b6c84..d9de3b1 100644 --- a/packages/models.py +++ b/packages/models.py @@ -28,6 +28,7 @@ class Repo(models.Model): name = models.CharField(maxlength=255) class Meta: db_table = 'repos' + ordering = ['name'] def last_update(self): try: latest = Package.objects.filter(repo__name__exact=self.name).order_by('-last_update')[0] |