From: Guillaume Pellerin Date: Tue, 7 Mar 2023 14:05:09 +0000 (+0100) Subject: all course types X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=fc3e49be8cd565b45054467065026968e92d4e03;p=teleforma.git all course types --- diff --git a/teleforma/management/commands/teleforma-pull-courses.py b/teleforma/management/commands/teleforma-pull-courses.py index 9c33fff9..488b8970 100644 --- a/teleforma/management/commands/teleforma-pull-courses.py +++ b/teleforma/management/commands/teleforma-pull-courses.py @@ -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()