#NEWLINE# def get_activation_key( self , user ) : #NEWLINE# #INDENT# '\n        Generate the activation key which will be emailed to the user.\n\n        ' #NEWLINE# return signing . dumps ( obj = getattr ( self , user . USERNAME_FIELD ) , salt = REGISTRATION_SALT )