From 1d42a86ec7e16336955735474f88e7632a34f3cb Mon Sep 17 00:00:00 2001 From: Ramiro Morales Date: Tue, 11 Mar 2014 09:52:43 -0300 Subject: [PATCH] Tweak password admin change form view context. Refs #21293. --- django/contrib/auth/admin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/django/contrib/auth/admin.py b/django/contrib/auth/admin.py index 9bfc070ab2..37d0ee487b 100644 --- a/django/contrib/auth/admin.py +++ b/django/contrib/auth/admin.py @@ -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',