From 96d12748a957e8e78641a2c92c91ca2b261a4209 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Sun, 24 Aug 2008 06:46:53 +0000 Subject: [PATCH] Added app_label to the context for the add user admin view. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8510 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/contrib/auth/admin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/django/contrib/auth/admin.py b/django/contrib/auth/admin.py index c64cf90256..873d29f02d 100644 --- a/django/contrib/auth/admin.py +++ b/django/contrib/auth/admin.py @@ -73,6 +73,7 @@ class UserAdmin(admin.ModelAdmin): 'save_as': False, 'username_help_text': self.model._meta.get_field('username').help_text, 'root_path': self.admin_site.root_path, + 'app_label': self.model._meta.app_label, }, context_instance=template.RequestContext(request)) def user_change_password(self, request, id):