forked from DGNum/gestioCOF
Hot fix
`participant.email` -> `participant.user.email`
This commit is contained in:
parent
fbc4158de7
commit
0a85eaa0cf
1 changed files with 2 additions and 2 deletions
|
@ -333,7 +333,7 @@ Tu peux contacter le/la vendeur-se à l'adresse %s.
|
|||
|
||||
Chaleureusement,
|
||||
Le BdA""" % (spectacle.title, spectacle.date_no_seconds(),
|
||||
spectacle.location, spectacle.price, seller.email)
|
||||
spectacle.location, spectacle.price, seller.user.email)
|
||||
|
||||
mail.send_mail("BdA-Revente : %s" % spectacle.title,
|
||||
mail_buyer, "bda@ens.fr", [winner.user.email],
|
||||
|
@ -346,7 +346,7 @@ Chaleureusement,
|
|||
Le BdA""" % (spectacle.title, winner.user.get_full_name(), winner.user.email)
|
||||
|
||||
mail.send_mail("BdA-Revente : %s" % spectacle.title,
|
||||
mail_seller, "bda@ens.fr", [seller.email],
|
||||
mail_seller, "bda@ens.fr", [seller.user.email],
|
||||
fail_silently=False)
|
||||
self.tirage_done = True
|
||||
self.save()
|
||||
|
|
Loading…
Reference in a new issue