From da9baba079fd8ac3ca939c2a8e4f7fd889d9c0ca Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 30 Jan 2023 18:57:24 +0100 Subject: Model: add history for document and containers --- ishtar_common/models.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ishtar_common/models.py') diff --git a/ishtar_common/models.py b/ishtar_common/models.py index 8dd1fc3fe..12cdf01f0 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -133,6 +133,7 @@ from ishtar_common.models_common import ( HierarchicalType, BaseHistorizedItem, LightHistorizedItem, + HistoricalRecords, FullSearch, SearchAltName, OwnPerms, @@ -4268,6 +4269,7 @@ class Document( db_index=True, help_text=_("Cached value - do not edit"), ) + history = HistoricalRecords(inherit=True) class Meta: verbose_name = _("Document") -- cgit v1.2.3