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 | 83d4e47b7e0ee3946e07d1c5de04597a06613cf0 (patch) | |
tree | 67981f597f7b7a98b782d2db02687d83f1024772 /archaeological_operations/models.py | |
parent | 3d12b0ac2e97ab43a555106f404ed7cf442caf17 (diff) | |
download | Ishtar-83d4e47b7e0ee3946e07d1c5de04597a06613cf0.tar.bz2 Ishtar-83d4e47b7e0ee3946e07d1c5de04597a06613cf0.zip |
Migrate single image to M2M (refs #4076)
Diffstat (limited to 'archaeological_operations/models.py')
-rw-r--r-- | archaeological_operations/models.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py index 5ff3ddc2f..44406fd89 100644 --- a/archaeological_operations/models.py +++ b/archaeological_operations/models.py @@ -38,8 +38,7 @@ from ishtar_common.models import GeneralType, BaseHistorizedItem, \ SourceType, Person, Organization, Town, Dashboard, IshtarUser, ValueGetter,\ DocumentTemplate, ShortMenuItem, DashboardFormItem, GeneralRelationType,\ GeneralRecordRelations, post_delete_record_relation, OperationType, \ - ImageModel, post_save_cache, PersonType, IshtarImage, \ - RelationItem, ThroughImage + post_save_cache, PersonType, IshtarImage, RelationItem, ThroughImage class RemainType(GeneralType): @@ -279,8 +278,8 @@ class ClosedItem(object): return {'date': date, 'user': user} -class Operation(ClosedItem, BaseHistorizedItem, ImageModel, OwnPerms, - ValueGetter, ShortMenuItem, DashboardFormItem, RelationItem): +class Operation(ClosedItem, BaseHistorizedItem, OwnPerms, ValueGetter, + ShortMenuItem, DashboardFormItem, RelationItem): QUALITY_DICT = dict(QUALITY) SHOW_URL = 'show-operation' TABLE_COLS = ['year', 'towns', 'common_name', 'operation_type', |