From: Guillaume Pellerin Date: Mon, 8 Jul 2013 11:59:10 +0000 (+0200) Subject: add log info X-Git-Tag: 1.1~588 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=40e0b5fd0e4124099f57be85609c635f7d35e6b0;p=teleforma.git add log info --- diff --git a/teleforma/management/commands/teleforma-reset-all-passwords-with-mail.py b/teleforma/management/commands/teleforma-reset-all-passwords-with-mail.py index 500ff8b2..6eaec175 100644 --- a/teleforma/management/commands/teleforma-reset-all-passwords-with-mail.py +++ b/teleforma/management/commands/teleforma-reset-all-passwords-with-mail.py @@ -44,6 +44,7 @@ class Command(BaseCommand): def handle(self, *args, **options): log_file = args[-1] logger = Logger(log_file) + logger.logger.info('Processing...') users = User.objects.all() translation.activate(self.language_code) @@ -60,3 +61,4 @@ class Command(BaseCommand): profile.save() logger.logger.info(user.username) + logger.logger.info('Done') \ No newline at end of file