#NEWLINE# def send_activation_email( self , user ) : #NEWLINE# #INDENT# '\n        Send the activation email. The activation key is simply the\n        username, signed using TimestampSigner.\n\n        ' #NEWLINE# activation_key = self . get_activation_key ( user ) #NEWLINE# context = self . get_email_context ( activation_key ) #NEWLINE# context . update ( { #NEWLINE# #INDENT# 'user' : user , #NEWLINE# #UNINDENT# } ) #NEWLINE# subject = render_to_string ( self . email_subject_template , context ) #NEWLINE# subject = '' . join ( subject . splitlines ( ) ) #NEWLINE# message = render_to_string ( self . email_body_template , context ) #NEWLINE# user . email_user ( subject , message , settings . DEFAULT_FROM_EMAIL )