Beispiel #1
0
def index():
    wards = get_ward_data()
    for ward in wards:
        print ward
    return render_template("index.html")
Beispiel #2
0
def ward_data():
    data = get_ward_data()
    return jsonify([ward.serialize() for ward in data])