def server ( request ) : return direct_to_template ( request , 'server/index.html' , { 'user_url' : getViewURL ( request , idPage ) , 'server_xrds_url' : getViewURL ( request , idpXrds ) , } )
serving a python page as an index
Respond to requests for the server s primary web page .
def server(request):
    """
    Respond to requests for the server's primary web page.
    """
    return direct_to_template(
        request,
        'server/index.html',
        {'user_url': getViewURL(request, idPage),
         'server_xrds_url': getViewURL(request, idpXrds),
         })