diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-09-11 18:50:43 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-09-11 18:50:43 +0200 |
| commit | 749dcf5d36a0cecb1649c73e290c4884c74d818e (patch) | |
| tree | 421a804433bc2dfacfff4f698626420031daa89f | |
| parent | e87be285da2557f3a684418c9f91c9dc22139fda (diff) | |
| download | Ishtar-749dcf5d36a0cecb1649c73e290c4884c74d818e.tar.bz2 Ishtar-749dcf5d36a0cecb1649c73e290c4884c74d818e.zip | |
Template generation: add M2M types in find dict
| -rw-r--r-- | archaeological_finds/models_finds.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/archaeological_finds/models_finds.py b/archaeological_finds/models_finds.py index bc6f440bc..73d6e8f32 100644 --- a/archaeological_finds/models_finds.py +++ b/archaeological_finds/models_finds.py @@ -1448,6 +1448,11 @@ class Find(BulkUpdatedItem, ValueGetter, DocumentItem, BaseHistorizedItem, 'remarkabilities', 'communicabilities', 'preservation_to_considers', 'alterations', 'alteration_causes' ] + GET_VALUES_EXTRA_TYPES = ( + 'material_types', 'object_types', 'integrities', + 'remarkabilities', 'communicabilities', 'preservation_to_considers', + 'alterations', 'alteration_causes' + ) CACHED_LABELS = ['cached_label', 'cached_periods', 'cached_object_types', 'cached_materials'] objects = UUIDModelManager() |
