]> git.parisson.com Git - teleforma.git/commitdiff
all students
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Mon, 22 Nov 2021 11:29:35 +0000 (12:29 +0100)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Mon, 22 Nov 2021 11:29:35 +0000 (12:29 +0100)
teleforma/management/commands/teleforma-copy-students.py

index 50c6a4e1ccbac30d20e5efcc8638d7997b36ca0a..a7389999b6a4abd38366aeb66c64b31b5cc68055 100644 (file)
@@ -56,7 +56,7 @@ class Command(BaseCommand):
 
         self.logger.logger.info('Number of new students to copy : ' + str(len(new_students)) + '\n')
 
-        for student in new_students[100:]:
+        for student in new_students:
             user = deepcopy(student.user)
             payments = deepcopy(student.payments.all())
             discounts = deepcopy(student.discounts.all())