From df668ee7825dc32d309c539bef13681541294451 Mon Sep 17 00:00:00 2001 From: Luke Plant Date: Sat, 6 May 2006 18:56:03 +0000 Subject: [PATCH] Changed the admin index to sort models alphabetically. git-svn-id: http://code.djangoproject.com/svn/django/trunk@2861 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/contrib/admin/templatetags/adminapplist.py | 1 + 1 file changed, 1 insertion(+) diff --git a/django/contrib/admin/templatetags/adminapplist.py b/django/contrib/admin/templatetags/adminapplist.py index c328ddf203..f672481d26 100644 --- a/django/contrib/admin/templatetags/adminapplist.py +++ b/django/contrib/admin/templatetags/adminapplist.py @@ -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,