From: Guillaume Pellerin Date: Mon, 22 Nov 2021 11:29:35 +0000 (+0100) Subject: all students X-Git-Tag: 2.5.0~9 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=2d75c752ff1a557b99ad5003f2e298170f93e001;p=teleforma.git all students --- diff --git a/teleforma/management/commands/teleforma-copy-students.py b/teleforma/management/commands/teleforma-copy-students.py index 50c6a4e1..a7389999 100644 --- a/teleforma/management/commands/teleforma-copy-students.py +++ b/teleforma/management/commands/teleforma-copy-students.py @@ -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())