fix manage_reventes
This commit is contained in:
parent
018f493b16
commit
7fbf0e4809
4 changed files with 7 additions and 5 deletions
|
@ -269,7 +269,7 @@ class SpectacleRevente(models.Model):
|
|||
for participant in inscrits:
|
||||
mail_body = render_template('mail-revente.txt', {
|
||||
'user': participant.user,
|
||||
'spectacle': self.spectacle,
|
||||
'spectacle': self.attribution.spectacle,
|
||||
'revente': self})
|
||||
mail_tot = mail.EmailMessage(
|
||||
mail_object, mail_body,
|
||||
|
@ -290,7 +290,7 @@ class SpectacleRevente(models.Model):
|
|||
for participant in inscrits:
|
||||
mail_body = render_template('mail-shotgun.txt', {
|
||||
'user': participant.user,
|
||||
'spectacle': self.spectacle,
|
||||
'spectacle': self.attribution.spectacle,
|
||||
'mail': self.attribution.participant.user.email})
|
||||
mail_tot = mail.EmailMessage(
|
||||
mail_object, mail_body,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue