Skip to content
Browse files

Added app_label to the context for the add user admin view.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 27b0077 commit 96d12748a957e8e78641a2c92c91ca2b261a4209 @freakboy3742 freakboy3742 committed
Showing with 1 addition and 0 deletions.
  1. +1 −0 django/contrib/auth/
1 django/contrib/auth/
@@ -73,6 +73,7 @@ def add_view(self, request):
'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):

0 comments on commit 96d1274

Please sign in to comment.
Something went wrong with that request. Please try again.