Browse Source

Añado descripcion del pozo y firma

politica
Celestino Rey 9 months ago
parent
commit
06b270c06c
2 changed files with 8 additions and 3 deletions
  1. +1
    -1
      JugarAlPadel/K8S/Makefile
  2. +7
    -2
      JugarAlPadel/gestion_reservas/eventos/views.py

+ 1
- 1
JugarAlPadel/K8S/Makefile View File

@ -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.70.1
export IMG_VERSION = 0.70.3
export IMG_NGINX_VERSION = 2.3
# limpia todo


+ 7
- 2
JugarAlPadel/gestion_reservas/eventos/views.py View File

@ -319,8 +319,13 @@ def enviar_correo_inscritos(request, evento_id):
if request.method == "POST":
form = MensajeCorreoForm(request.POST)
if form.is_valid():
asunto = form.cleaned_data['asunto']
mensaje = form.cleaned_data['mensaje']
asunto_usuario = form.cleaned_data['asunto']
mensaje_usuario = form.cleaned_data['mensaje']
asunto = f"{asunto_usuario} - {evento.descripcion}"
firma = "\n\nSaludos, \nPádel entre amigos"
mensaje = f"{mensaje_usuario}{firma}"
send_mail(
asunto,


Loading…
Cancel
Save