def set_function_to_convert_page_name_to_url(func):
    """
    Set a function that can be used to convert from a website's name to its URL.
    This can be a simple dictionary lookup.
    If you are using Django, just use reverse_lazy as the input of this function.
    """
    global _page_to_url
    _page_to_url = func
