]> git.parisson.com Git - teleforma.git/commitdiff
all course types
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Tue, 7 Mar 2023 14:05:09 +0000 (15:05 +0100)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Tue, 7 Mar 2023 14:05:09 +0000 (15:05 +0100)
teleforma/management/commands/teleforma-pull-courses.py

index 9c33fff94847ca4bfd907896f1200a4707aa0657..488b897082bd24588543ff4ef494d25ddf55569b 100644 (file)
@@ -20,7 +20,3 @@ class Command(BaseCommand):
        organization_name = args[-1]
         view = CourseListView()
         view.pull(organization_name)
-
-        for course_type in CourseType.objects.all():
-            if 'supp' in course_type.name:
-                course_type.delete()