def send_password_reset_notice(user):
 if config_value('SEND_PASSWORD_RESET_NOTICE_EMAIL'):
  send_mail(config_value('EMAIL_SUBJECT_PASSWORD_NOTICE'), user.email, 'reset_notice', user=user)

def send_password_reset_notice ( user ) : if config_value ( 'SEND_PASSWORD_RESET_NOTICE_EMAIL' ) : send_mail ( config_value ( 'EMAIL_SUBJECT_PASSWORD_NOTICE' ) , user . email , 'reset_notice' , user = user )
sends the password reset notice email for the specified user .