summaryrefslogtreecommitdiff
path: root/archaeological_context_records/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2021-11-24 08:13:12 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2022-12-12 12:20:59 +0100
commitfa4b00372209425b18c57fe9af29a416ce36b39f (patch)
tree2d5197ad3fb0ac78b343732d3251de320ea07f72 /archaeological_context_records/models.py
parente3ce9c77d36db4510076b677ec7ce1e0021a51f8 (diff)
downloadIshtar-fa4b00372209425b18c57fe9af29a416ce36b39f.tar.bz2
Ishtar-fa4b00372209425b18c57fe9af29a416ce36b39f.zip
Syndication - api view & url for find, context record, warehouse, container and file
Diffstat (limited to 'archaeological_context_records/models.py')
-rw-r--r--archaeological_context_records/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/archaeological_context_records/models.py b/archaeological_context_records/models.py
index ff33d8bf3..ef9e2788e 100644
--- a/archaeological_context_records/models.py
+++ b/archaeological_context_records/models.py
@@ -613,6 +613,7 @@ class ContextRecord(
rights=["change_contextrecord", "change_own_contextrecord"],
),
]
+ SERIALIZE_EXCLUDE = MainItem.SERIALIZE_EXCLUDE + ["contextrecord"]
history = HistoricalRecords(bases=[HistoryModel])
objects = UUIDModelManager()