alphabetical order on maintainers and packages
This commit is contained in:
parent
2f9d725b02
commit
0dbde37b20
@ -14,7 +14,7 @@ def index(request):
|
||||
'repos': Repo.objects.all(), 'arches': Arch.objects.all(),
|
||||
'maintainers': [
|
||||
User(id=0, username="orphan", first_name="Orphans")
|
||||
] + list(User.objects.filter(is_active=True))
|
||||
] + list(User.objects.filter(is_active=True).order_by('username'))
|
||||
}
|
||||
|
||||
return render_to_response('devel/index.html',
|
||||
|
@ -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',)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user