(self, domain)
return (
            self.filter(Q(domain=domain) | Q(invitations__domain=domain))
            .distinct()  # avoid getting duplicate registries
            .prefetch_related("invitations")
        )
Return list of all registries that are visible to the domain. This includes
        registries that are owned by the domain as well as those they have been invited
        to participate in
Return list of all registries that are visible to the domain. This includes
        registries that are owned by the domain as well as those they have been invited
        to participate in
Return list of all registries that are visible to the domain . This includes registries that are owned by the domain as well as those they have been invited to participate in
def visible_to_domain(self, domain):
        """Return list of all registries that are visible to the domain. This includes
        registries that are owned by the domain as well as those they have been invited
        to participate in
        """
        return (
            self.filter(Q(domain=domain) | Q(invitations__domain=domain))
            .distinct()  # avoid getting duplicate registries
            .prefetch_related("invitations")
        )
def visible_to_domain ( self , domain ) : return ( self . filter ( Q ( domain = domain ) | Q ( invitations__domain = domain ) ) . distinct ( ) # avoid getting duplicate registries . prefetch_related ( "invitations" ) )