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