Flask Ratings application exercise