(domain)
return DomainLink.objects.filter(linked_domain=domain).first()
:returns: ``DomainLink`` object linking this domain to its upstream
    or None if no link exists
:returns: ``DomainLink`` object linking this domain to its upstream
    or None if no link exists
: returns : DomainLink object linking this domain to its upstream or None if no link exists
def get_upstream_domain_link(domain):
    """
    :returns: ``DomainLink`` object linking this domain to its upstream
    or None if no link exists
    """
    return DomainLink.objects.filter(linked_domain=domain).first()
def get_upstream_domain_link ( domain ) : return DomainLink . objects . filter ( linked_domain = domain ) . first ( )