(urlname)
return urlname_to_url.get(urlname, 'https://dimagi.com/commcare/')
Fetches the correct dimagi.com url for a "prelogin" view.
Fetches the correct dimagi.com url for a "prelogin" view.
Fetches the correct dimagi . com url for a prelogin view .
def prelogin_url(urlname):
    """
    Fetches the correct dimagi.com url for a "prelogin" view.
    """
    urlname_to_url = {
        'go_to_pricing': 'https://dimagi.com/commcare/pricing/',
        'public_pricing': 'https://dimagi.com/commcare/pricing/',

    }
    return urlname_to_url.get(urlname, 'https://dimagi.com/commcare/')
def prelogin_url ( urlname ) : urlname_to_url = { 'go_to_pricing' : 'https://dimagi.com/commcare/pricing/' , 'public_pricing' : 'https://dimagi.com/commcare/pricing/' , } return urlname_to_url . get ( urlname , 'https://dimagi.com/commcare/' )