(idp, domain_obj)
return format_html(
        _('{idp} is now trusted as an identity provider for users '
          'who are members of the project space "{domain}". '
          '<a href="{learn_more}">Learn More</a>'),
        idp=idp.name,
        domain=domain_obj.name,
        learn_more='#',  # todo include learn more link
    )
Small utility to return a success message that a TrustedIdentityProvider
    relationship was established between an Identity Provider and a Domain.

    :param idp: IdentityProvider
    :param domain_obj: Domain object
    :return: String (the final message)
Small utility to return a success message that a TrustedIdentityProvider
    relationship was established between an Identity Provider and a Domain.
Small utility to return a success message that a TrustedIdentityProvider relationship was established between an Identity Provider and a Domain .
def get_success_message_for_trusted_idp(idp, domain_obj):
    """
    Small utility to return a success message that a TrustedIdentityProvider
    relationship was established between an Identity Provider and a Domain.

    :param idp: IdentityProvider
    :param domain_obj: Domain object
    :return: String (the final message)
    """
    return format_html(
        _('{idp} is now trusted as an identity provider for users '
          'who are members of the project space "{domain}". '
          '<a href="{learn_more}">Learn More</a>'),
        idp=idp.name,
        domain=domain_obj.name,
        learn_more='#',  # todo include learn more link
    )
def get_success_message_for_trusted_idp ( idp , domain_obj ) : return format_html ( _ ( '{idp} is now trusted as an identity provider for users ' 'who are members of the project space "{domain}". ' '<a href="{learn_more}">Learn More</a>' ) , idp = idp . name , domain = domain_obj . name , learn_more = '#' , # todo include learn more link )