diff options
| author | Étienne Loks <etienne.loks@proxience.com> | 2015-01-28 01:41:20 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@proxience.com> | 2015-01-28 01:41:20 +0100 |
| commit | 61e92971e33940d93e0ae288456a4482145e33d3 (patch) | |
| tree | 5172e69dc2459ae1779533c440298ab52eb1c83e /archaeological_context_records | |
| parent | 4b8571e492a342314c6a68dbb80b5c48f76ffd4e (diff) | |
| download | Ishtar-61e92971e33940d93e0ae288456a4482145e33d3.tar.bz2 Ishtar-61e92971e33940d93e0ae288456a4482145e33d3.zip | |
Fix Bibracte import - add finds imports
Diffstat (limited to 'archaeological_context_records')
| -rw-r--r-- | archaeological_context_records/data_importer.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/archaeological_context_records/data_importer.py b/archaeological_context_records/data_importer.py index 166b54359..bbe89a5b8 100644 --- a/archaeological_context_records/data_importer.py +++ b/archaeological_context_records/data_importer.py @@ -33,7 +33,7 @@ class ContextRecordsImporterBibracte(Importer): LINE_FORMAT = [ # ID operation ImportFormater('operation__operation_code', IntegerFormater(), - duplicate_field='parcel__operation__operation_code',), + duplicate_fields=['parcel__operation__operation_code'],), # ID UE ImportFormater('external_id', UnicodeFormater(120),), # Type @@ -67,8 +67,8 @@ class ContextRecordsRelationImporterBibracte(Importer): LINE_FORMAT = [ # code OA ImportFormater('left_record__operation__operation_code', - IntegerFormater(), - duplicate_field='right_record__operation__operation_code',), + IntegerFormater(), + duplicate_fields=['right_record__operation__operation_code'],), # identifiant UE 1 ImportFormater('left_record__external_id', UnicodeFormater(120),), # type relation |
