def delete_one(userid): data = {'id': userid} User.delete(data) return redirect('/')
def delete_user_in_db(id_num): data = { "id": id_num, } User.delete(data) return redirect("/")
def delete_user(user_id): data = { "id": user_id } User.delete(data) return redirect("/users")
def delete_user(id): data = {"id": int(id)} User.delete(data) return redirect("/users")
def delete_user(user_id): User.delete({"id": user_id}) return redirect("/")