Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Changed the admin index to sort models alphabetically.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@2861 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit df668ee7825dc32d309c539bef13681541294451 1 parent d09ae12
@spookylukey spookylukey authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  django/contrib/admin/templatetags/adminapplist.py
View
1  django/contrib/admin/templatetags/adminapplist.py
@@ -42,6 +42,7 @@ def render(self, context):
})
if model_list:
+ model_list.sort()
app_list.append({
'name': app_label.title(),
'has_module_perms': has_module_perms,
Please sign in to comment.
Something went wrong with that request. Please try again.