def freeze_all(): freeze_request('/index.html') for country in list_countries(): freeze_request('/country/%s.html' % country)
def index(): return render_template('index.html', years=list_years(), countries=list_countries())