From 83f0328cc2043f97e1dfc4a9b37a03bfcbe7dd41 Mon Sep 17 00:00:00 2001 From: Ludovic Stephan Date: Thu, 27 Oct 2016 12:38:14 -0200 Subject: [PATCH] added security to mail_shotgun --- bda/models.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bda/models.py b/bda/models.py index b5ee094e..cfd063f4 100644 --- a/bda/models.py +++ b/bda/models.py @@ -309,6 +309,8 @@ class SpectacleRevente(models.Model): connection = mail.get_connection() connection.send_messages(mails_to_send) self.notif_sent = True + # Flag inutile, sauf si l'horloge interne merde + self.tirage_done = True self.shotgun = True self.save()