示例#1
0
def users():
    '''Serve information about all users
    '''
    client_login_session = getClientLoginSession()

    users = DataManager.getUsers()

    return render_template('Users.html', users=users,
                           client_login_session=client_login_session)
示例#2
0
def usersJSON():
    '''JSON endpoint for all users
    '''
    users = DataManager.getUsers()

    return jsonify(Users=[i.serialize for i in users])
示例#3
0
def usersJSON():
    '''JSON endpoint for all users
    '''
    users = DataManager.getUsers()

    return jsonify(Users=[i.serialize for i in users])