def delete(id): print(request.form) data = { 'id': id } User.destroy(data) return redirect('/')
def delete(id): data = {"id": id} User.destroy(data) return redirect("/")
def delete_user(id): data = {"id": id} User.destroy(data) return redirect('/all_users')