]> git.parisson.com Git - teleforma.git/commitdiff
Documentation
authorYoan Le Clanche <yoanl@pilotsystems.net>
Wed, 1 Dec 2021 15:18:22 +0000 (16:18 +0100)
committerYoan Le Clanche <yoanl@pilotsystems.net>
Wed, 1 Dec 2021 15:18:22 +0000 (16:18 +0100)
teleforma/management/commands/teleforma-export-avis.py

index cff0e699497dd806c02252455b0a760d81a37993..aa410f778d848646524c830fcd60cac7c150383d 100644 (file)
@@ -68,6 +68,8 @@ class Command(BaseCommand):
             seminar = testimonial.seminar
             if testimonial.seminar.course.code == "demo":
                 continue
+            # https://mattermost.pilotsystems.net/pro-barreau/pl/twdx8ro6mfbimyr7n31tkpstac
+            # testimonials are created before being accessible
             if not seminar_validated(user, seminar) or not (get_seminar_delta(user, seminar) >= 0):
                 testimonial_not_ok.append(user)
                 continue