Skip to content
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...
1 parent d09ae12 commit df668ee7825dc32d309c539bef13681541294451 @spookylukey spookylukey committed
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,

0 comments on commit df668ee

Please sign in to comment.
Something went wrong with that request. Please try again.