summaryrefslogtreecommitdiff
path: root/archaeological_finds/data_importer.py
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_finds/data_importer.py')
-rw-r--r--archaeological_finds/data_importer.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/archaeological_finds/data_importer.py b/archaeological_finds/data_importer.py
index a15b6bcc5..6046e44fd 100644
--- a/archaeological_finds/data_importer.py
+++ b/archaeological_finds/data_importer.py
@@ -47,7 +47,7 @@ class FindsImporterBibracte(Importer):
# cf type
None,
# Type = sous classe de matériaux = Liste hiérarchique
- ImportFormater('find__material_type',
+ ImportFormater('find__material_types',
TypeFormater(models.MaterialType), required=False),
# ???
None,
@@ -77,7 +77,7 @@ class FindsImporterBibracte(Importer):
ImportFormater('comment', UnicodeFormater(1000), required=False),
# lien vers plusieurs chrono (voir gestion actuelle chrono)
None,
- # ImportFormater('find__dating__period', TypeFormater(Period,
+ # ImportFormater('find__datings__period', TypeFormater(Period,
# many_split="&"), required=False),
# topographic_localisation
ImportFormater('topographic_localisation', UnicodeFormater(120),
@@ -104,7 +104,7 @@ class FindAltImporterBibracte(Importer):
ImportFormater('external_id', UnicodeFormater(120, notnull=True),
duplicate_fields=[('find__external_id', False)]),
# nature
- ImportFormater('find__material_type',
+ ImportFormater('find__material_types',
TypeFormater(models.MaterialType), required=False),
# identifiant UE
ImportFormater('context_record__external_id', UnicodeFormater(120),),