summaryrefslogtreecommitdiff
path: root/archaeological_context_records/models.py
diff options
context:
space:
mode:
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
commit83d4e47b7e0ee3946e07d1c5de04597a06613cf0 (patch)
tree67981f597f7b7a98b782d2db02687d83f1024772 /archaeological_context_records/models.py
parent3d12b0ac2e97ab43a555106f404ed7cf442caf17 (diff)
downloadIshtar-83d4e47b7e0ee3946e07d1c5de04597a06613cf0.tar.bz2
Ishtar-83d4e47b7e0ee3946e07d1c5de04597a06613cf0.zip
Migrate single image to M2M (refs #4076)
Diffstat (limited to 'archaeological_context_records/models.py')
-rw-r--r--archaeological_context_records/models.py7
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'