From e0b1a16d7d4b47947c764b2916cb107a6cf3e635 Mon Sep 17 00:00:00 2001 From: Gregory Trullemans Date: Thu, 11 May 2023 10:42:20 +0200 Subject: [PATCH] =?UTF-8?q?Personnalisation=20de=20l'envoie=20d'email=20po?= =?UTF-8?q?ur=20l'=C3=A9tat=20d'esprit.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jarvis/followup/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jarvis/followup/views.py b/jarvis/followup/views.py index 28f7e6f..67cbdfe 100644 --- a/jarvis/followup/views.py +++ b/jarvis/followup/views.py @@ -904,8 +904,8 @@ def mindstate_create_or_update( receiver.append(notification.user.email) send_mail( - f"{gymnast} : Nouvel état d'esprit enregistré", - f"Un nouvel état d'esprit enregistré pour {gymnast}", + f"{gymnast} : Nouvel état d'esprit", + f"{gymnast} a indiqué son état d'esprit ({form.cleaned_data["date"]}) : {form.cleaned_data["score"]}/10", settings.EMAIL_HOST_USER, receiver, fail_silently=False,