summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2008-08-24 06:46:53 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2008-08-24 06:46:53 +0000
commit96d12748a957e8e78641a2c92c91ca2b261a4209 (patch)
tree9e158bf3d1e017a1c2691b060b967380e48e5fc3
parent27b0077a4800ed88ff057e9ad8b35ac7f3c8b908 (diff)
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
-rw-r--r--django/contrib/auth/admin.py1
1 files changed, 1 insertions, 0 deletions
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):