diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-10-17 17:33:30 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-10-24 12:06:09 +0200 |
commit | e98b1dc6156eda6261e158f02868d9f8d51b2913 (patch) | |
tree | c8c33449dc1ad25f195839068fa1fdd6125931ec /ishtar_common/models.py | |
parent | 359a43054add412d143d66b5e41cf1d2058fd4fe (diff) | |
download | Ishtar-e98b1dc6156eda6261e158f02868d9f8d51b2913.tar.bz2 Ishtar-e98b1dc6156eda6261e158f02868d9f8d51b2913.zip |
Find: search last modified and modified by
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r-- | ishtar_common/models.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py index 3e7cecf2a..c19628cf2 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -1413,6 +1413,7 @@ class BaseHistorizedItem(DocumentItem, FullSearch, Imported, JsonData, history_creator = models.ForeignKey( User, related_name='+', on_delete=models.SET_NULL, verbose_name=_(u"Creator"), blank=True, null=True) + last_modified = models.DateTimeField(default=datetime.datetime.now) class Meta: abstract = True |