def ville(): bd = BD() bd.connexion() return static_file('installations.html', root='vue/')
def getInstallation(): bd = BD() bd.connexion() return str(JsonData.getInstallationVille(request.GET.get('ville'), request.GET.get('activite'), bd.getCursor()))
def getInstallation(): bd = BD() bd.connexion() return JsonData.getInstallation(request.GET.get('inst'), bd.getCursor())
def getInfos(): bd = BD() bd.connexion() return str(JsonData.getInfos(request.GET.get('inst'), bd.getCursor()))