Fixed #8520 -- Corrected a dumb typo in the call to password_change in django/contrib/admin/sites.py. Thanks Karen Tracey for catching this.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8523 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
6b5a607606
commit
072083f261
|
@ -198,7 +198,7 @@ class AdminSite(object):
|
||||||
"""
|
"""
|
||||||
from django.contrib.auth.views import password_change
|
from django.contrib.auth.views import password_change
|
||||||
return password_change(request,
|
return password_change(request,
|
||||||
post_save_redirect='%spassword_change/done/' % self.root_path)
|
post_change_redirect='%spassword_change/done/' % self.root_path)
|
||||||
|
|
||||||
def password_change_done(self, request):
|
def password_change_done(self, request):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue