From fe32ab1e70157d39e62bd4c44c739e3322ae2729 Mon Sep 17 00:00:00 2001 From: PCoder Date: Mon, 29 Nov 2021 10:21:26 +0530 Subject: [PATCH] Fix Organisation model + debug --- app/management/commands/import.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/management/commands/import.py b/app/management/commands/import.py index 4412f44..0ba214c 100644 --- a/app/management/commands/import.py +++ b/app/management/commands/import.py @@ -34,7 +34,7 @@ class Command(BaseCommand): "v2-LanguageLink.csv": "LanguageLink", "v2-Keywords.csv": "Keyword", "v2-NamesImport.csv": "NamesImport", - "v2-Organisations-cleaned.csv": "Organization", + "v2-Organisations-cleaned.csv": "Organisation", "v2-Peaks.csv": "Peak", "v2-People.csv": "Person", @@ -394,6 +394,7 @@ class Command(BaseCommand): print(str(dne)) error_row_count += 1 except ValueError as ve: + print('0 = %s and 5 = %s' % (row[0], row[5])) print(str(ve)) error_row_count += 1 continue