From 5e9dac2985948dbb246ef1432a7ad3e24e946362 Mon Sep 17 00:00:00 2001 From: Birger Schacht Date: Wed, 27 Sep 2023 13:37:56 +0200 Subject: [PATCH] fix: add debug statement to migrate script --- apis_ontology/management/commands/import.py | 1 + 1 file changed, 1 insertion(+) diff --git a/apis_ontology/management/commands/import.py b/apis_ontology/management/commands/import.py index 0f72341..7886fbc 100644 --- a/apis_ontology/management/commands/import.py +++ b/apis_ontology/management/commands/import.py @@ -74,6 +74,7 @@ def handle(self, *args, **options): data = page.json() nextpage = data['next'] for result in data["results"]: + print(result["url"]) newuri, created = Uri.objects.get_or_create(uri=result["uri"]) try: result["root_object"] = RootObject.objects.get(pk=result["entity"]["id"])