From: Guillaume Pellerin Date: Fri, 11 Jul 2014 17:19:57 +0000 (+0200) Subject: again X-Git-Tag: 1.1~437 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=dcf294604a4b3c049bfb6429bcdfdd696851517a;p=teleforma.git again --- diff --git a/teleforma/management/commands/teleforma-reset-all-passwords-with-mail-fix.py b/teleforma/management/commands/teleforma-reset-all-passwords-with-mail-fix.py index fed1c1eb..22ca3d87 100644 --- a/teleforma/management/commands/teleforma-reset-all-passwords-with-mail-fix.py +++ b/teleforma/management/commands/teleforma-reset-all-passwords-with-mail-fix.py @@ -48,11 +48,11 @@ class Command(BaseCommand): users = User.objects.all() translation.activate(self.language_code) + i = 0 for user in users: profile, c = Profile.objects.get_or_create(user=user) student = user.student.all() - i = 0 if student: if profile and user.is_active: trig = False