Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
  • Loading branch information...
commit 96d12748a957e8e78641a2c92c91ca2b261a4209 1 parent 27b0077
Russell Keith-Magee authored August 24, 2008

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. 1  django/contrib/auth/admin.py
1  django/contrib/auth/admin.py
@@ -73,6 +73,7 @@ def add_view(self, request):
73 73
             'save_as': False,
74 74
             'username_help_text': self.model._meta.get_field('username').help_text,
75 75
             'root_path': self.admin_site.root_path,
  76
+            'app_label': self.model._meta.app_label,            
76 77
         }, context_instance=template.RequestContext(request))
77 78
 
78 79
     def user_change_password(self, request, id):

0 notes on commit 96d1274

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