Exemple #1
0
def home():
    with tools.Contest() as contest:
        d = {'languages': list(sorted(list(contest['wrappers'].keys()))),
             'questions': list(sorted(list(contest['questions'].keys()),
                                      key=lambda x: int(x))),
             'intro': contest['intro']
             }
    return tools.render('home.html', d)
Exemple #2
0
def analytics():
    d = {'available': config.analysis_available}
    return tools.render('analytics.html', d)