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 | b70ce24512fe2c4c8baa379f1204017c177a3230 (patch) | |
tree | 849f14dfe2e62ec696ce2530207ddcbb7229929f /archaeological_context_records/models.py | |
parent | 880075af959c2989724599258036529c0627fb2f (diff) | |
download | Ishtar-b70ce24512fe2c4c8baa379f1204017c177a3230.tar.bz2 Ishtar-b70ce24512fe2c4c8baa379f1204017c177a3230.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" |