Fix Organisation model + debug
This commit is contained in:
parent
4315b376cb
commit
fe32ab1e70
1 changed files with 2 additions and 1 deletions
|
@ -34,7 +34,7 @@ class Command(BaseCommand):
|
||||||
"v2-LanguageLink.csv": "LanguageLink",
|
"v2-LanguageLink.csv": "LanguageLink",
|
||||||
"v2-Keywords.csv": "Keyword",
|
"v2-Keywords.csv": "Keyword",
|
||||||
"v2-NamesImport.csv": "NamesImport",
|
"v2-NamesImport.csv": "NamesImport",
|
||||||
"v2-Organisations-cleaned.csv": "Organization",
|
"v2-Organisations-cleaned.csv": "Organisation",
|
||||||
"v2-Peaks.csv": "Peak",
|
"v2-Peaks.csv": "Peak",
|
||||||
|
|
||||||
"v2-People.csv": "Person",
|
"v2-People.csv": "Person",
|
||||||
|
@ -394,6 +394,7 @@ class Command(BaseCommand):
|
||||||
print(str(dne))
|
print(str(dne))
|
||||||
error_row_count += 1
|
error_row_count += 1
|
||||||
except ValueError as ve:
|
except ValueError as ve:
|
||||||
|
print('0 = %s and 5 = %s' % (row[0], row[5]))
|
||||||
print(str(ve))
|
print(str(ve))
|
||||||
error_row_count += 1
|
error_row_count += 1
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in a new issue