Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
Luke Plant authored May 06, 2006
1  django/contrib/admin/templatetags/adminapplist.py
@@ -42,6 +42,7 @@ def render(self, context):
42 42
                             })
43 43
 
44 44
                 if model_list:
  45
+                    model_list.sort()
45 46
                     app_list.append({
46 47
                         'name': app_label.title(),
47 48
                         'has_module_perms': has_module_perms,

0 notes on commit df668ee

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