0
0
mirror of https://github.com/django/django.git synced 2024-12-01 15:42:04 +01:00

Merge pull request #2418 from ramiro/21293-tweak

Tweak password admin change form view context. Refs #21293.
This commit is contained in:
Ramiro Morales 2014-03-11 12:28:35 -02:00
commit 6d3ebe10f4

View File

@ -156,6 +156,7 @@ class UserAdmin(admin.ModelAdmin):
'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',