def metadata(request, config_loader_path=None, valid_for=None):
 conf = get_config(config_loader_path, request)
 metadata = entity_descriptor(conf)
 return HttpResponse(content=str(metadata), content_type='text/xml; charset=utf8')

def metadata ( request , config_loader_path = None , valid_for = None ) : conf = get_config ( config_loader_path , request ) metadata = entity_descriptor ( conf ) return HttpResponse ( content = str ( metadata ) , content_type = 'text/xml; charset=utf8' )
add some generally useful metadata to the template context .