diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-06-07 16:52:02 +0200 | 
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-06-12 10:46:13 +0200 | 
| commit | 875462381bc57b13a8ca6b68a52ad1ca065ef95e (patch) | |
| tree | 68d54bb40b2006fc2a3d5ae938108e9b950eca59 /ishtar_common/models.py | |
| parent | fdd0231543be132b846e3bf12127cd01860f55bf (diff) | |
| download | Ishtar-875462381bc57b13a8ca6b68a52ad1ca065ef95e.tar.bz2 Ishtar-875462381bc57b13a8ca6b68a52ad1ca065ef95e.zip | |
Document form: add related fields (refs #4107)
Diffstat (limited to 'ishtar_common/models.py')
| -rw-r--r-- | ishtar_common/models.py | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/ishtar_common/models.py b/ishtar_common/models.py index 758596279..3715c0326 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -3060,6 +3060,11 @@ class Document(OwnPerms, ImageModel, FullSearch):          'treatment_files', 'treatments', 'finds', 'context_records',          'operations', 'sites', 'warehouses',      ] +    # same fields but in order for forms +    RELATED_MODELS_ALT = [ +        'finds', 'context_records', 'operations', 'sites', 'warehouses', +        'treatments', 'treatment_files', +    ]      SLUG = 'document'      LINK_SPLIT = u"<||>" | 
