You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

18 lines
530 B

from flask import Blueprint, render_template
bp = Blueprint("reservas", __name__)
@bp.route("/misreservas")
def misreservas():
reservas = []
return render_template("reservas/misreservas.html", reservas=reservas)
@bp.route("/reservar", methods=['GET', 'POST'])
def reservar():
return render_template("reservas/reservar.html")
# Ruta para eliminar una reserva
#@bp.route('/eliminar_reserva/<int:index>', methods=['POST'])
#def eliminar_reserva(index):
# del reservas[index]
# return redirect(url_for('index'))