'Displays the "success" page after a password change.'

def password_change_done(self, request, extra_context=None):

    from django.contrib.auth.views import password_change_done
    defaults = {'current_app': self.name, 'extra_context': (extra_context or {})}
    if (self.password_change_done_template is not None):
        defaults['template_name'] = self.password_change_done_template
    return password_change_done(request, **defaults)
