Author: russellm
Date: 2008-08-24 01:46:53 -0500 (Sun, 24 Aug 2008)
New Revision: 8510
Modified:
django/trunk/django/contrib/auth/admin.py
Log:
Added app_label to the context for the add user admin view.
Modified: django/trunk/django/contrib/auth/admin.py
===================================================================
--- django/trunk/django/contrib/auth/admin.py 2008-08-24 06:34:18 UTC (rev
8509)
+++ django/trunk/django/contrib/auth/admin.py 2008-08-24 06:46:53 UTC (rev
8510)
@@ -73,6 +73,7 @@
'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):
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---