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