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