From 02e9cd45b809047fc10b1a1ed1c5de8bb63ae3c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20=20MENAGER?= <herve.menager@pasteur.fr> Date: Thu, 23 Mar 2017 21:41:37 +0100 Subject: [PATCH] log a message about Taxonomy table succesfully cleared --- ippisite/ippidb/management/commands/import_v1_data.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ippisite/ippidb/management/commands/import_v1_data.py b/ippisite/ippidb/management/commands/import_v1_data.py index aa2e6623..ee2da525 100644 --- a/ippisite/ippidb/management/commands/import_v1_data.py +++ b/ippisite/ippidb/management/commands/import_v1_data.py @@ -50,6 +50,7 @@ class Command(BaseCommand): Protein.objects.all().delete() self.stdout.write(self.style.SUCCESS('Successfully flushed protein table')) Taxonomy.objects.all().delete() + self.stdout.write(self.style.SUCCESS('Successfully flushed taxonomy table')) for row in rows: try: p = Protein() -- GitLab