def tour(name): tour = Tour(name) return render_template('tour.html', tour=json.dumps(tour.load_tour()))