summaryrefslogtreecommitdiff
path: root/archaeological_operations
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2020-10-07 19:09:30 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2021-02-28 12:15:21 +0100
commit1e3da04336b9095e4497d098ea19c3178bc74cf6 (patch)
tree9cd21bf7e51d271b958a9a4b2b85367adbb97992 /archaeological_operations
parentcf6139abc5a64a2ff52eccdcf0424870cff6d57c (diff)
downloadIshtar-1e3da04336b9095e4497d098ea19c3178bc74cf6.tar.bz2
Ishtar-1e3da04336b9095e4497d098ea19c3178bc74cf6.zip
Refactoring of models. Document container - declare only id
Diffstat (limited to 'archaeological_operations')
-rw-r--r--archaeological_operations/models.py5
1 files changed, 3 insertions, 2 deletions
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