Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Tweak password admin change form view context. Refs #21293.

  • Loading branch information...
commit 1d42a86ec7e16336955735474f88e7632a34f3cb 1 parent 89e4226
@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.