summaryrefslogtreecommitdiff
path: root/archaeological_context_records
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2019-05-24 11:46:29 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2019-05-24 11:46:50 +0200
commitb70ce24512fe2c4c8baa379f1204017c177a3230 (patch)
tree849f14dfe2e62ec696ce2530207ddcbb7229929f /archaeological_context_records
parent880075af959c2989724599258036529c0627fb2f (diff)
downloadIshtar-b70ce24512fe2c4c8baa379f1204017c177a3230.tar.bz2
Ishtar-b70ce24512fe2c4c8baa379f1204017c177a3230.zip
DocumentItem: fix inapropriate heritage
Diffstat (limited to 'archaeological_context_records')
-rw-r--r--archaeological_context_records/models.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/archaeological_context_records/models.py b/archaeological_context_records/models.py
index b3e4be9f0..474d71e7c 100644
--- a/archaeological_context_records/models.py
+++ b/archaeological_context_records/models.py
@@ -36,7 +36,8 @@ from ishtar_common.models import Document, GeneralType, \
GeneralRelationType, GeneralRecordRelations, post_delete_record_relation,\
post_save_cache, ValueGetter, BulkUpdatedItem, \
RelationItem, Town, get_current_profile, document_attached_changed, \
- HistoryModel, SearchAltName, GeoItem, QRCodeItem, SearchVectorConfig
+ HistoryModel, SearchAltName, GeoItem, QRCodeItem, SearchVectorConfig, \
+ DocumentItem
from archaeological_operations.models import Operation, Period, Parcel, \
ArchaeologicalSite
@@ -270,8 +271,9 @@ class CRBulkView(object):
"""
-class ContextRecord(BulkUpdatedItem, BaseHistorizedItem, QRCodeItem, GeoItem,
- OwnPerms, ValueGetter, ShortMenuItem, RelationItem):
+class ContextRecord(BulkUpdatedItem, DocumentItem, BaseHistorizedItem,
+ QRCodeItem, GeoItem, OwnPerms, ValueGetter, ShortMenuItem,
+ RelationItem):
SLUG = 'contextrecord'
APP = "archaeological-context-records"
MODEL = "context-record"