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