#NEWLINE# def create_random_password( email ) : #NEWLINE# #INDENT# new_password = random_word ( 8 ) #NEWLINE# user = User . objects . get ( email = email ) #NEWLINE# user . set_password ( new_password ) #NEWLINE# user . save ( ) #NEWLINE# return new_password