forked from DGNum/gestioCOF
Merge branch 'hotfix/bda_mail_context'
This commit is contained in:
commit
f32f83db75
1 changed files with 3 additions and 2 deletions
|
@ -315,10 +315,11 @@ class SpectacleRevente(models.Model):
|
|||
# Envoie un mail aux perdants
|
||||
for inscrit in inscrits:
|
||||
if inscrit != winner:
|
||||
context['acheteur'] = inscrit.user
|
||||
new_context = dict(context)
|
||||
new_context['acheteur'] = inscrit.user
|
||||
datatuple.append((
|
||||
'bda-revente-loser',
|
||||
context,
|
||||
new_context,
|
||||
settings.MAIL_DATA['revente']['FROM'],
|
||||
[inscrit.user.email]
|
||||
))
|
||||
|
|
Loading…
Reference in a new issue