diff options
author | Étienne Loks <etienne.loks@proxience.com> | 2015-02-18 22:38:05 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@proxience.com> | 2015-05-06 15:58:26 +0200 |
commit | c8cf444ae57ba6f6f071f900dde7cc899ea21542 (patch) | |
tree | 6748698738be8b03c222f69f5cdc31cbefdcccb4 /archaeological_operations/management | |
parent | a348df27a87129076cb7042236dd47c8b6f494ed (diff) | |
download | Ishtar-c8cf444ae57ba6f6f071f900dde7cc899ea21542.tar.bz2 Ishtar-c8cf444ae57ba6f6f071f900dde7cc899ea21542.zip |
Improve archaeological files import
Diffstat (limited to 'archaeological_operations/management')
-rw-r--r-- | archaeological_operations/management/commands/ishtar_imports.py (renamed from archaeological_operations/management/commands/import_operations.py) | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/archaeological_operations/management/commands/import_operations.py b/archaeological_operations/management/commands/ishtar_imports.py index 09bfe23b6..23397204b 100644 --- a/archaeological_operations/management/commands/import_operations.py +++ b/archaeological_operations/management/commands/ishtar_imports.py @@ -31,6 +31,12 @@ IMPORTERS = { } try: + from archaeological_files.data_importer import * + IMPORTERS['sra-pdl-files'] = FileImporterSraPdL +except ImportError: + pass + +try: from archaeological_context_records.data_importer import * IMPORTERS['bibracte-ue'] = ContextRecordsImporterBibracte IMPORTERS['bibracte-ue-rel'] = ContextRecordsRelationImporterBibracte |