Browse files

Merge pull request #2418 from ramiro/21293-tweak

Tweak password admin change form view context. Refs #21293.
  • Loading branch information...
2 parents 89e4226 + 1d42a86 commit 6d3ebe10f4f8c4b91c9cbeccf9696ca79b6909f9 @ramiro ramiro committed Mar 11, 2014
Showing with 1 addition and 0 deletions.
  1. +1 −0 django/contrib/auth/admin.py
View
1 django/contrib/auth/admin.py
@@ -156,6 +156,7 @@ def user_change_password(self, request, id, form_url=''):
'save_as': False,
'show_save': True,
}
+ context.update(admin.site.each_context())
return TemplateResponse(request,
self.change_user_password_template or
'admin/auth/user/change_password.html',

0 comments on commit 6d3ebe1

Please sign in to comment.