Skip to content

Instantly share code, notes, and snippets.


parzibyte/ Secret

Created Mar 30, 2021
What would you like to do?
@app.route("/actualizar_juego", methods=["POST"])
def actualizar_juego():
id = request.form["id"]
nombre = request.form["nombre"]
descripcion = request.form["descripcion"]
precio = request.form["precio"]
controlador_juegos.actualizar_juego(nombre, descripcion, precio, id)
return redirect("/juegos")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment