toolware/utils/convert.py
def domain_to_fqdn(domain, proto=None):
    """ returns a fully qualified app domain name """
    from .generic import get_site_proto
    proto = proto or get_site_proto()
    fdqn = '{proto}://{domain}'.format(proto=proto, domain=domain)
    return fdqn
def domain_to_fqdn(domain, proto=None):
    """ returns a fully qualified app domain name """
    from .generic import get_site_proto
    proto = proto or get_site_proto()
    fdqn = '{proto}://{domain}'.format(proto=proto, domain=domain)
    return fdqn
returns a fully qualified app domain name