def user_list():
    users = UserModel.get_all()
    return render_template('user/list.html',
                           current_user=current_user,
                           users=users)
Esempio n. 2
0
 def get(cls):
     users = UserModel.get_all()
     return {'user': UserSchema(many=True).dump(users)}