summaryrefslogtreecommitdiff
path: root/archaeological_context_records/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-05-16 12:27:34 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-05-16 12:27:34 +0200
commit8d9998014f3d7591f073dea645e3eee40b4917e6 (patch)
tree6bb5b6aa22d1720b8eb2dc26766dcad9dda1544d /archaeological_context_records/models.py
parentdfd6fd2551a9cc54e6b69d4f5d4d4aa328b9cc7a (diff)
parenta25d54c314692843a0086f6c7f9d38c30affce40 (diff)
downloadIshtar-8d9998014f3d7591f073dea645e3eee40b4917e6.tar.bz2
Ishtar-8d9998014f3d7591f073dea645e3eee40b4917e6.zip
Merge branch 'master' into v0.9
Diffstat (limited to 'archaeological_context_records/models.py')
-rw-r--r--archaeological_context_records/models.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/archaeological_context_records/models.py b/archaeological_context_records/models.py
index bb3afc899..855ea7d5c 100644
--- a/archaeological_context_records/models.py
+++ b/archaeological_context_records/models.py
@@ -202,7 +202,8 @@ class ContextRecord(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')]