From 2ccc716e7ba2fcfc47d001647fbb5503cb699ef6 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Tue, 16 Sep 2008 06:01:47 +0000 Subject: [PATCH] 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 --- django/contrib/admin/sites.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/contrib/admin/sites.py b/django/contrib/admin/sites.py index 51bec88328..c16ab6a110 100644 --- a/django/contrib/admin/sites.py +++ b/django/contrib/admin/sites.py @@ -295,7 +295,7 @@ class AdminSite(object): else: app_dict[app_label] = { 'name': app_label.title(), - 'app_url': app_label, + 'app_url': app_label + '/', 'has_module_perms': has_module_perms, 'models': [model_dict], }