diff options
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 |
commit | 9d92f4e4478e0695c0fdc36c18d723a4f3290ad4 (patch) | |
tree | 849f14dfe2e62ec696ce2530207ddcbb7229929f /archaeological_context_records/models.py | |
parent | 8c0edb9a85e947f0dac65c630ba1c2fa185e880a (diff) | |
download | Ishtar-9d92f4e4478e0695c0fdc36c18d723a4f3290ad4.tar.bz2 Ishtar-9d92f4e4478e0695c0fdc36c18d723a4f3290ad4.zip |
DocumentItem: fix inapropriate heritage
Diffstat (limited to 'archaeological_context_records/models.py')
-rw-r--r-- | archaeological_context_records/models.py | 8 |
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" |