Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #2418 from ramiro/21293-tweak

Tweak password admin change form view context. Refs #21293.
  • Loading branch information...
commit 6d3ebe10f4f8c4b91c9cbeccf9696ca79b6909f9 2 parents 89e4226 + 1d42a86
@ramiro ramiro authored
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',
Please sign in to comment.
Something went wrong with that request. Please try again.