From dfcfa46426317c6b6a473685ea363224e5450cc9 Mon Sep 17 00:00:00 2001 From: Celestino Rey Date: Thu, 27 Mar 2025 08:43:25 +0100 Subject: [PATCH] Creo lista de entrenadores --- src/macrociclos/views.py | 2 +- src/templates/macrociclos/index.html | 2 +- .../macrociclos/lista_entrenadores.html | 19 ++++++++++++++++--- 3 files changed, 18 insertions(+), 5 deletions(-) diff --git a/src/macrociclos/views.py b/src/macrociclos/views.py index 1dd01bd..3a62c8e 100644 --- a/src/macrociclos/views.py +++ b/src/macrociclos/views.py @@ -74,7 +74,7 @@ def lista_deportistas(request): @login_required def nuevo_deportista(request): - deportistas = Deportista.objects.all() # vamos a ver si hay vehículos dados de alta + deportistas = Deportista.objects.all() # vamos a ver si hay deportistas dados de alta if deportistas: if request.method == 'POST': diff --git a/src/templates/macrociclos/index.html b/src/templates/macrociclos/index.html index 0fef913..59e08ac 100644 --- a/src/templates/macrociclos/index.html +++ b/src/templates/macrociclos/index.html @@ -15,7 +15,7 @@