docs: def create_userena_profile(self, user):
          """
          Creates an :class:`UserenaSignup` instance for this user.
  
          :param user:
              Django :class:`User` instance.
  
          :return: The newly created :class:`UserenaSignup` instance.
  
          """
          if isinstance(user.username, text_type):
              user.username = smart_text(user.username)
          salt, activation_key = generate_sha1(user.username)
  
          try:
              profile = self.get(user=user)
          except self.model.DoesNotExist:
              profile = self.create(user=user,
                             activation_key=activation_key)
          return profile