diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-05-02 13:04:40 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-05-02 13:04:40 +0200 |
commit | f6f20e5745a0c6eb3f07b4e0b33454c87c48f6e6 (patch) | |
tree | aae1f9f35364a05c463932dde074583b37194a2c /archaeological_finds | |
parent | 2fcd1ef9e0b6659df24d3171ca04d5bc803e9d8e (diff) | |
download | Ishtar-f6f20e5745a0c6eb3f07b4e0b33454c87c48f6e6.tar.bz2 Ishtar-f6f20e5745a0c6eb3f07b4e0b33454c87c48f6e6.zip |
Data importer: add value formaters based on Python format() string
Diffstat (limited to 'archaeological_finds')
-rw-r--r-- | archaeological_finds/models_finds.py | 3 | ||||
-rw-r--r-- | archaeological_finds/models_treatments.py | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/archaeological_finds/models_finds.py b/archaeological_finds/models_finds.py index c5a3aa914..3dbda8472 100644 --- a/archaeological_finds/models_finds.py +++ b/archaeological_finds/models_finds.py @@ -35,11 +35,12 @@ from ishtar_common.utils import cached_label_changed, post_save_geo, \ from ishtar_common.alternative_configs import ALTERNATE_CONFIGS +from ishtar_common.model_managers import ExternalIdManager from ishtar_common.models import Document, GeneralType, \ HierarchicalType, BaseHistorizedItem, LightHistorizedItem, \ HistoricalRecords, OwnPerms, Person, Basket, post_save_cache, \ ValueGetter, get_current_profile, IshtarSiteProfile, PRIVATE_FIELDS, \ - GeoItem, BulkUpdatedItem, ExternalIdManager, QuickAction, \ + GeoItem, BulkUpdatedItem, QuickAction, \ MainItem, document_attached_changed, HistoryModel, DynamicRequest, \ SearchAltName, QRCodeItem, SearchVectorConfig diff --git a/archaeological_finds/models_treatments.py b/archaeological_finds/models_treatments.py index 3fc1a5afa..5a7792083 100644 --- a/archaeological_finds/models_treatments.py +++ b/archaeological_finds/models_treatments.py @@ -33,10 +33,11 @@ from archaeological_finds.models_finds import Find, FindBasket, TreatmentType from archaeological_operations.models import ClosedItem, Operation from archaeological_context_records.models import Dating from archaeological_warehouse.models import Warehouse, Container +from ishtar_common.model_managers import ExternalIdManager from ishtar_common.models import Document, GeneralType, \ ImageModel, BaseHistorizedItem, OwnPerms, HistoricalRecords, Person, \ Organization, ValueGetter, post_save_cache, ShortMenuItem, \ - DashboardFormItem, ExternalIdManager, document_attached_changed, \ + DashboardFormItem, document_attached_changed, \ HistoryModel, SearchAltName, SearchVectorConfig from ishtar_common.utils import cached_label_changed, get_current_year, \ update_data, m2m_historization_changed |