diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-05-16 12:30:44 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-05-16 12:30:44 +0200 |
| commit | a4c8f7d6af91d1d756897c61e484c3ea577024d5 (patch) | |
| tree | 3e94b4b8fddda4fdf6f021cf11fbbc1f9d9a5e13 /archaeological_context_records/models.py | |
| parent | cba39126fdf90bbe10f523fa185d33c90ca18593 (diff) | |
| parent | 746cc873bec6b10a9c22fdf7e946928c6d3fd822 (diff) | |
| download | Ishtar-a4c8f7d6af91d1d756897c61e484c3ea577024d5.tar.bz2 Ishtar-a4c8f7d6af91d1d756897c61e484c3ea577024d5.zip | |
Merge branch 'v0.9' into wheezy
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 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')] |
