From 8d7d7cd645688f558e20198349ad009b85ac3776 Mon Sep 17 00:00:00 2001 From: Emmy D'Anello Date: Sun, 31 Mar 2024 13:38:20 +0200 Subject: [PATCH] Create Google Sheets after the draw Signed-off-by: Emmy D'Anello --- draw/models.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/draw/models.py b/draw/models.py index 7270f9e..5c75456 100644 --- a/draw/models.py +++ b/draw/models.py @@ -399,6 +399,8 @@ class Pool(models.Model): passage.observer = tds[line[3]].participation await passage.asave() + await sync_to_async(self.associated_pool.update_spreadsheet)() + return self.associated_pool def __str__(self):