diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2023-01-30 18:57:24 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2023-02-02 17:40:14 +0100 |
commit | da9baba079fd8ac3ca939c2a8e4f7fd889d9c0ca (patch) | |
tree | f703963dcb757ba0a067129d4c8a8287009b96a5 /ishtar_common/models.py | |
parent | b6a58ae42723a93df08dca35646b6f5ea1270d49 (diff) | |
download | Ishtar-da9baba079fd8ac3ca939c2a8e4f7fd889d9c0ca.tar.bz2 Ishtar-da9baba079fd8ac3ca939c2a8e4f7fd889d9c0ca.zip |
Model: add history for document and containers
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r-- | ishtar_common/models.py | 2 |
1 files changed, 2 insertions, 0 deletions
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") |