Esempio n. 1
0
def show_players():
    '''Show player data for HOME_TEAM'''
    players = player.get_players(memcached, http, mongo)
    positions = player.get_positions(mongo, False)
    return render_template('show_players.html',
                           players=players,
                           data=settings.PLAYERDATA,
                           positions=positions)
Esempio n. 2
0
def show_classes():
    '''Show player class data for HOME_TEAM'''
    positions = player.get_positions(mongo, True)
    return render_template('show_classes.html', data=settings.PLAYERDATA, positions=positions)
Esempio n. 3
0
def show_players():
    '''Show player data for HOME_TEAM'''
    players = player.get_players(memcached, http, mongo)
    positions = player.get_positions(mongo, False)
    return render_template('show_players.html', players=players, data=settings.PLAYERDATA, positions=positions)
Esempio n. 4
0
def show_classes():
    '''Show player class data for HOME_TEAM'''
    positions = player.get_positions(mongo, True)
    return render_template('show_classes.html',
                           data=settings.PLAYERDATA,
                           positions=positions)