diff --git a/JugarAlPadel/K8S/Makefile b/JugarAlPadel/K8S/Makefile index ed776c9..afcb2d5 100644 --- a/JugarAlPadel/K8S/Makefile +++ b/JugarAlPadel/K8S/Makefile @@ -2,7 +2,7 @@ export ARQUITECTURA := $(shell lscpu |grep itectur | tr -d ' '| cut -f2 -d':') #export REGISTRY=localhost:5000 export REGISTRY=registry.reymota.es -export IMG_VERSION = 0.29 +export IMG_VERSION = 0.30 export IMG_NGINX_VERSION = 2.3 # limpia todo diff --git a/JugarAlPadel/K8S/Makefile.local b/JugarAlPadel/K8S/Makefile.local index f36dda5..eba9e93 100644 --- a/JugarAlPadel/K8S/Makefile.local +++ b/JugarAlPadel/K8S/Makefile.local @@ -2,7 +2,7 @@ export ARQUITECTURA := $(shell lscpu |grep itectur | tr -d ' '| cut -f2 -d':') export REGISTRY=localhost:30500 #export REGISTRY=registry.reymota.es -export IMG_VERSION = 1.20 +export IMG_VERSION = 1.21 export IMG_NGINX_VERSION = 2.4 # limpia todo diff --git a/JugarAlPadel/gestion_reservas/eventos/views.py b/JugarAlPadel/gestion_reservas/eventos/views.py index 06c2881..60fd27c 100644 --- a/JugarAlPadel/gestion_reservas/eventos/views.py +++ b/JugarAlPadel/gestion_reservas/eventos/views.py @@ -219,14 +219,14 @@ def proximo_evento(request): {'detail': 'El parámetro "publicado" debe ser "true", "false" o "all".'}, status=status.HTTP_400_BAD_REQUEST ) - + # Configura el filtro según el parámetro `publicado` if publicado_param == 'all': eventos = Evento.objects.filter(fecha__gte=timezone.now()).order_by('fecha') else: publicado = publicado_param == 'true' eventos = Evento.objects.filter(publicado=publicado, fecha__gte=timezone.now()).order_by('fecha') - + evento = eventos.first() if evento: @@ -245,7 +245,7 @@ def todos_los_eventos(request): {'detail': 'El parámetro "publicado" debe ser "true", "false" o "all".'}, status=status.HTTP_400_BAD_REQUEST ) - + # Configura el filtro según el parámetro `publicado` if publicado_param == 'all': eventos = Evento.objects.all().order_by('fecha')