summaryrefslogtreecommitdiff
path: root/ishtar_common/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r--ishtar_common/models.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py
index 51d3550e9..f80e50a18 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -3346,12 +3346,12 @@ class Document(OwnPerms, ImageModel, FullSearch, Imported):
# other will be symbolic links
RELATED_MODELS = [
'treatment_files', 'treatments', 'finds', 'context_records',
- 'operations', 'sites', 'warehouses',
+ 'operations', 'sites', 'warehouses', 'files'
]
# same fields but in order for forms
RELATED_MODELS_ALT = [
- 'finds', 'context_records', 'operations', 'sites', 'warehouses',
- 'treatments', 'treatment_files',
+ 'finds', 'context_records', 'operations', 'sites', 'files',
+ 'warehouses', 'treatments', 'treatment_files',
]
SLUG = 'document'
LINK_SPLIT = u"<||>"