Skip to content

Commit

Permalink
fix: add debug statement to migrate script
Browse files Browse the repository at this point in the history
b1rger committed Sep 27, 2023
1 parent 0f3713e commit 5e9dac2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apis_ontology/management/commands/import.py
Original file line number Diff line number Diff line change
@@ -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"])

0 comments on commit 5e9dac2

Please sign in to comment.