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_operations/models.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'archaeological_operations') diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py index d0de32be2..e7561d32c 100644 --- a/archaeological_operations/models.py +++ b/archaeological_operations/models.py @@ -35,15 +35,16 @@ from django.forms import ValidationError from ishtar_common.utils import ugettext_lazy as _, pgettext_lazy from ishtar_common.models import BaseHistorizedItem, Dashboard, \ - DashboardFormItem, Department, Document, DocumentTemplate, \ + DashboardFormItem, Document, DocumentTemplate, \ GeneralRecordRelations, GeneralRelationType, GeneralType, \ - HistoricalRecords, IshtarUser, LightHistorizedItem, \ + IshtarUser, LightHistorizedItem, \ OperationType, Organization, OwnPerms, Person, PersonType, \ post_delete_record_relation, post_save_cache, RelationItem, \ ShortMenuItem, SourceType, Town, ValueGetter, get_current_profile, \ document_attached_changed, HistoryModel, SearchAltName, \ GeoItem, QRCodeItem, SearchVectorConfig, DocumentItem, QuickAction, \ MainItem, HierarchicalType +from ishtar_common.models_common import Department, HistoricalRecords from ishtar_common.model_managers import UUIDModelManager from ishtar_common.utils import cached_label_changed, \ force_cached_label_changed, mode, m2m_historization_changed, post_save_geo -- cgit v1.2.3