]> git.parisson.com Git - teleforma.git/commitdiff
reserve new conf notification to Student.platform_only
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Mon, 11 Jul 2022 09:38:54 +0000 (11:38 +0200)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Mon, 11 Jul 2022 09:38:54 +0000 (11:38 +0200)
bin
teleforma/management/commands/teleforma-publish-notify-conferences.py

diff --git a/bin b/bin
index 7a7c9ab66099c6e93acacf48d589bfc9da5a9fc2..877deb91a9d035c74bf726fed8851d38e93014ce 160000 (submodule)
--- a/bin
+++ b/bin
@@ -1 +1 @@
-Subproject commit 7a7c9ab66099c6e93acacf48d589bfc9da5a9fc2
+Subproject commit 877deb91a9d035c74bf726fed8851d38e93014ce
index c1b803ff477b2a6771bff2a0550dc9ecc6e29006..44de37aa3ce7b436c7d567c036625192137292c1 100644 (file)
@@ -96,7 +96,7 @@ class Command(BaseCommand):
             url = reverse('teleforma-media-detail', args=[conference.period.id, linked_media.id])
             message = "Nouvelle conférence publiée : " + str(conference)
 
-            students = Student.objects.filter(period=conference.period)
+            students = Student.objects.filter(period=conference.period, platform_only=True)
             for student in students:
                 try:
                     if student.user: