def send_password_changed_notice(user):
 if config_value('SEND_PASSWORD_CHANGE_EMAIL'):
  subject = config_value('EMAIL_SUBJECT_PASSWORD_CHANGE_NOTICE')
  send_mail(subject, user.email, 'change_notice', user=user)

def send_password_changed_notice ( user ) : if config_value ( 'SEND_PASSWORD_CHANGE_EMAIL' ) : subject = config_value ( 'EMAIL_SUBJECT_PASSWORD_CHANGE_NOTICE' ) send_mail ( subject , user . email , 'change_notice' , user = user )
sends the password changed notice email for the specified user .