mirror of
https://github.com/django/django.git
synced 2024-12-25 10:35:48 +00:00
Changed the app-level links on the admin index page to include trailing slashes, to be consistent with the rest of the links
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9048 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
78999f24ee
commit
2ccc716e7b
@ -295,7 +295,7 @@ class AdminSite(object):
|
|||||||
else:
|
else:
|
||||||
app_dict[app_label] = {
|
app_dict[app_label] = {
|
||||||
'name': app_label.title(),
|
'name': app_label.title(),
|
||||||
'app_url': app_label,
|
'app_url': app_label + '/',
|
||||||
'has_module_perms': has_module_perms,
|
'has_module_perms': has_module_perms,
|
||||||
'models': [model_dict],
|
'models': [model_dict],
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user