added security to mail_shotgun

This commit is contained in:
Ludovic Stephan 2016-10-27 12:38:14 -02:00
parent 27464aaa93
commit 83f0328cc2

View file

@ -309,6 +309,8 @@ class SpectacleRevente(models.Model):
connection = mail.get_connection() connection = mail.get_connection()
connection.send_messages(mails_to_send) connection.send_messages(mails_to_send)
self.notif_sent = True self.notif_sent = True
# Flag inutile, sauf si l'horloge interne merde
self.tirage_done = True
self.shotgun = True self.shotgun = True
self.save() self.save()