diff --git a/web-app/django/VIM/apps/instruments/management/commands/import_languages.py b/web-app/django/VIM/apps/instruments/management/commands/import_languages.py index 63796a1..ccb100c 100644 --- a/web-app/django/VIM/apps/instruments/management/commands/import_languages.py +++ b/web-app/django/VIM/apps/instruments/management/commands/import_languages.py @@ -41,7 +41,9 @@ def handle(self, *args, **options): en_label = item["languageLabel"]["value"] autonym = item["autonym"]["value"] - print(wikidata_code, "-", wikidata_id, "-", en_label, "-", autonym) + self.stdout.write( + wikidata_code, "-", wikidata_id, "-", en_label, "-", autonym + ) Language.objects.update_or_create( wikidata_code=wikidata_code,