diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-05-15 11:34:32 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-05-15 11:34:32 +0200 |
| commit | 209a201cd920692b9d7f3f33b42cc56d3bb27a1f (patch) | |
| tree | 9b6101e1df20be739157df2c8d6f391119bf3e48 /archaeological_context_records/models.py | |
| parent | c700b1b3d023b62d24015897df66e0bfd7f35893 (diff) | |
| parent | 1fb316c83fb50b3884c29a44cb95b2383a1a35bd (diff) | |
| download | Ishtar-209a201cd920692b9d7f3f33b42cc56d3bb27a1f.tar.bz2 Ishtar-209a201cd920692b9d7f3f33b42cc56d3bb27a1f.zip | |
Merge branch 'master' into develop
Conflicts:
archaeological_finds/forms_treatments.py
Diffstat (limited to 'archaeological_context_records/models.py')
| -rw-r--r-- | archaeological_context_records/models.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/archaeological_context_records/models.py b/archaeological_context_records/models.py index b838b9a57..883433517 100644 --- a/archaeological_context_records/models.py +++ b/archaeological_context_records/models.py @@ -204,7 +204,8 @@ class ContextRecord(BulkUpdatedItem, BaseHistorizedItem, ImageModel, OwnPerms, 'archaeological_sites': 'operation__archaeological_sites__pk', 'cached_label': 'cached_label__icontains', } - RELATION_TYPES_PREFIX = {'ope_relation_types': 'operation__'} + RELATION_TYPES_PREFIX = {'ope_relation_types': 'operation__', + 'cr_relation_types': ''} RELATIVE_SESSION_NAMES = [ ('operation', 'operation__pk'), ('file', 'operation__associated_file__pk')] |
