summaryrefslogtreecommitdiff
path: root/archaeological_operations/data_importer.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@proxience.com>2015-01-29 00:08:22 +0100
committerÉtienne Loks <etienne.loks@proxience.com>2015-01-29 00:08:22 +0100
commitbaf7f6d5da382877425a526e3a2044e9bf5fad56 (patch)
treeaab855539a05f8b9c3dec8df43a7bd01b1adbed4 /archaeological_operations/data_importer.py
parent9859c31976a88c63baf36a66839d13eb3fdd3b88 (diff)
downloadIshtar-baf7f6d5da382877425a526e3a2044e9bf5fad56.tar.bz2
Ishtar-baf7f6d5da382877425a526e3a2044e9bf5fad56.zip
Fix display of operations - fix bibracte import of operations
Diffstat (limited to 'archaeological_operations/data_importer.py')
-rw-r--r--archaeological_operations/data_importer.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/archaeological_operations/data_importer.py b/archaeological_operations/data_importer.py
index cad929d20..c1fd99fe1 100644
--- a/archaeological_operations/data_importer.py
+++ b/archaeological_operations/data_importer.py
@@ -173,7 +173,8 @@ class OperationImporterBibracte(Importer):
# fin
ImportFormater('excavation_end_date', DateFormater('%Y/%m/%d'),),
# Chronos
- ImportFormater('periods', TypeFormater(models.Period, many_split="&")),
+ ImportFormater('periods', TypeFormater(models.Period, many_split="&"),
+ required=False),
]
RE_PARCEL_SECT_NUM = re.compile("([A-Za-z]*)([0-9]*)")