Minor fixes

This commit is contained in:
Martin Pépin 2017-02-11 16:15:17 +01:00
parent 0e759405c7
commit b4bf437447
2 changed files with 4 additions and 5 deletions

View file

@ -489,9 +489,9 @@ def buy_revente(request, spectacle_id):
}
send_custom_mail(
'bda-buy-shotgun',
recipient_list=[revente.seller.user.email],
'bda@ens.fr',
[revente.seller.user.email],
context=context,
from_email='bda@ens.fr'
)
return render(request, "bda-success.html",
{"seller": revente.attribution.participant.user,

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: