diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-05-11 12:33:54 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-06-12 08:44:18 +0200 |
commit | 8b0b3cf749588394320af64b5350a1f09998f119 (patch) | |
tree | 67981f597f7b7a98b782d2db02687d83f1024772 /archaeological_context_records/models.py | |
parent | 29df409889edeecc11b39021df6f4e6fb39535cc (diff) | |
download | Ishtar-8b0b3cf749588394320af64b5350a1f09998f119.tar.bz2 Ishtar-8b0b3cf749588394320af64b5350a1f09998f119.zip |
Migrate single image to M2M (refs #4076)
Diffstat (limited to 'archaeological_context_records/models.py')
-rw-r--r-- | archaeological_context_records/models.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/archaeological_context_records/models.py b/archaeological_context_records/models.py index 396b91f67..1ae661524 100644 --- a/archaeological_context_records/models.py +++ b/archaeological_context_records/models.py @@ -33,8 +33,8 @@ from ishtar_common.utils import cached_label_changed from ishtar_common.models import GeneralType, BaseHistorizedItem, \ HistoricalRecords, OwnPerms, ShortMenuItem, Source, GeneralRelationType,\ GeneralRecordRelations, post_delete_record_relation, get_image_path, \ - ImageModel, post_save_cache, ValueGetter, BulkUpdatedItem, IshtarImage, \ - RelationItem, ThroughImage + post_save_cache, ValueGetter, BulkUpdatedItem, IshtarImage, RelationItem, \ + ThroughImage from archaeological_operations.models import Operation, Period, Parcel, \ ArchaeologicalSite @@ -206,8 +206,7 @@ class CRBulkView(object): class ContextRecord(BulkUpdatedItem, BaseHistorizedItem, - ImageModel, OwnPerms, ValueGetter, ShortMenuItem, - RelationItem): + OwnPerms, ValueGetter, ShortMenuItem, RelationItem): SHOW_URL = 'show-contextrecord' SLUG = 'contextrecord' EXTERNAL_ID_KEY = 'context_record_external_id' |