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
This commit is contained in:
parent
27b0077a48
commit
96d12748a9
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue