Changing response type for easier debugging
[edumed.git] / wtem / management / commands / wtem_generate_keys.py
index 239fe6b..75847ae 100644 (file)
@@ -21,6 +21,7 @@ class Command(BaseCommand):
                     Submission.create(**args)
                     new += 1
                 else:
                     Submission.create(**args)
                     new += 1
                 else:
+                    self.stdout.write('skipping ' + student['email'] + ': already exists.')
                     skipped += 1
 
         self.stdout.write('New: ' + str(new) + ', skipped: ' + str(skipped))
                     skipped += 1
 
         self.stdout.write('New: ' + str(new) + ', skipped: ' + str(skipped))