]> git.parisson.com Git - teleforma.git/commitdiff
add log info
authorGuillaume Pellerin <yomguy@parisson.com>
Mon, 8 Jul 2013 11:59:10 +0000 (13:59 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Mon, 8 Jul 2013 11:59:10 +0000 (13:59 +0200)
teleforma/management/commands/teleforma-reset-all-passwords-with-mail.py

index 500ff8b2c8192e53e3c04a944e43026ef51b628c..6eaec175eedec31dfd228f018a5a325f269ff179 100644 (file)
@@ -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