def renderXRDS(request, type_uris, endpoint_urls):
 response = direct_to_template(request, 'xrds.xml', {'type_uris': type_uris, 'endpoint_urls': endpoint_urls})
 response['Content-Type'] = YADIS_CONTENT_TYPE
 return response

def renderXRDS ( request , type_uris , endpoint_urls ) : response = direct_to_template ( request , 'xrds.xml' , { 'type_uris' : type_uris , 'endpoint_urls' : endpoint_urls } ) response [ 'Content-Type' ] = YADIS_CONTENT_TYPE return response
render an xrds page with the specified type uris and endpoint urls in one service block .