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)
def usersJSON(): '''JSON endpoint for all users ''' users = DataManager.getUsers() return jsonify(Users=[i.serialize for i in users])