Merge branch 'Kerl/use_django_custommail' of git.eleves.ens.fr:cof-geek/gestioCOF into Kerl/use_django_custommail

This commit is contained in:
Qwann 2017-02-11 16:22:09 +01:00
commit ec7012ee47
2 changed files with 4 additions and 5 deletions

View file

@ -435,9 +435,8 @@ def registration(request):
profile = profile_form.save()
if profile.is_cof and not was_cof:
send_custom_mail(
"welcome", [member.email],
"welcome", "cof@ens.fr", [member.email],
context={'member': member},
from_email='cof@ens.fr'
)
# Enregistrement des inscriptions aux événements
for form in event_formset: