Beispiel #1
0
def do_update(club_id):
    club = get_club(club_id)
    update_club(club, threaded=True)
    next_view = request.args.get('next') or 'club_overview'
    return redirect(url_for(next_view, club_id=club_id))
Beispiel #2
0
def update():
    for club in Club.all():
        print "Updating: ", club.strava_id
        update_club(club)