mirror of
https://github.com/Hopiu/django.git
synced 2026-05-01 20:24:46 +00:00
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:
parent
d09ae12632
commit
df668ee782
1 changed files with 1 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue