]> git.parisson.com Git - teleforma.git/commitdiff
add date_end tc/release/2.0
authorGuillaume Pellerin <yomguy@parisson.com>
Wed, 3 Dec 2025 06:38:32 +0000 (07:38 +0100)
committerGuillaume Pellerin <yomguy@parisson.com>
Wed, 3 Dec 2025 06:38:32 +0000 (07:38 +0100)
teleforma/management/commands/teleforma-stop-all-conferences.py

index a0bfde5b4940ed3d5f7c392fd3a26277ba8107ae..7e123727f071c5e4a655e8ef0a8c8efdbf8e389e 100644 (file)
@@ -18,3 +18,5 @@ class Command(BaseCommand):
     def handle(self, *args, **options):
         for conference in Conference.objects.filter(streaming=True):
             conference.stop()
+        for conference in Conference.objects.filter(date_end=None):
+            conference.stop()