From 1e3da04336b9095e4497d098ea19c3178bc74cf6 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 7 Oct 2020 19:09:30 +0200 Subject: Refactoring of models. Document container - declare only id --- archaeological_finds/models_finds.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'archaeological_finds/models_finds.py') diff --git a/archaeological_finds/models_finds.py b/archaeological_finds/models_finds.py index 2faf97d1d..77fe44da5 100644 --- a/archaeological_finds/models_finds.py +++ b/archaeological_finds/models_finds.py @@ -41,11 +41,13 @@ from ishtar_common.alternative_configs import ALTERNATE_CONFIGS from ishtar_common.model_managers import ExternalIdManager, UUIDModelManager from ishtar_common.models import Document, GeneralType, \ HierarchicalType, BaseHistorizedItem, LightHistorizedItem, \ - HistoricalRecords, OwnPerms, Person, Basket, post_save_cache, \ - ValueGetter, get_current_profile, IshtarSiteProfile, PRIVATE_FIELDS, \ + OwnPerms, Person, Basket, post_save_cache, \ + ValueGetter, get_current_profile, IshtarSiteProfile, \ GeoItem, BulkUpdatedItem, QuickAction, \ MainItem, document_attached_changed, HistoryModel, DynamicRequest, \ SearchAltName, QRCodeItem, SearchVectorConfig, DocumentItem +from ishtar_common.models_common import HistoricalRecords +from ishtar_common.utils import PRIVATE_FIELDS from archaeological_operations.models import AdministrativeAct, Operation, \ -- cgit v1.2.3