Changed the admin index to sort models alphabetically.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@2861 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Luke Plant 2006-05-06 18:56:03 +00:00
parent d09ae12632
commit df668ee782
1 changed files with 1 additions and 0 deletions

View File

@ -42,6 +42,7 @@ class AdminApplistNode(template.Node):
})
if model_list:
model_list.sort()
app_list.append({
'name': app_label.title(),
'has_module_perms': has_module_perms,