forked from DGNum/gestioCOF
Minor fixes
This commit is contained in:
parent
0e759405c7
commit
b4bf437447
2 changed files with 4 additions and 5 deletions
|
@ -488,10 +488,10 @@ def buy_revente(request, spectacle_id):
|
|||
'vendeur': revente.seller.user
|
||||
}
|
||||
send_custom_mail(
|
||||
'bda-buy-shotgun',
|
||||
recipient_list=[revente.seller.user.email],
|
||||
'bda-buy-shotgun',
|
||||
'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,
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue