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_operations/models.py | |
| parent | 29df409889edeecc11b39021df6f4e6fb39535cc (diff) | |
| download | Ishtar-8b0b3cf749588394320af64b5350a1f09998f119.tar.bz2 Ishtar-8b0b3cf749588394320af64b5350a1f09998f119.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', |
