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
commit999eefae2632bb01a968d088ccd6406f7b0bc896 (patch)
treeaab855539a05f8b9c3dec8df43a7bd01b1adbed4 /archaeological_operations/data_importer.py
parent30463969536705fda601c762ca459b4e51fbb3c5 (diff)
downloadIshtar-999eefae2632bb01a968d088ccd6406f7b0bc896.tar.bz2
Ishtar-999eefae2632bb01a968d088ccd6406f7b0bc896.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]*)")