diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-10-22 12:12:34 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-10-22 12:12:34 +0200 |
commit | 00659753bc5eeb4fe55d47f400073dd1f710cd35 (patch) | |
tree | 3ec1bcbbdf54d7e339a9938935b9162dcbb1b818 /ishtar_common/models.py | |
parent | 9be8c9476c6f3cef425f2e1a6e50f67cda525866 (diff) | |
download | Ishtar-00659753bc5eeb4fe55d47f400073dd1f710cd35.tar.bz2 Ishtar-00659753bc5eeb4fe55d47f400073dd1f710cd35.zip |
Force cache regeneration on rollback
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 c9be5b086..3453a53c5 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -795,6 +795,8 @@ class BaseHistorizedItem(Imported): pk=new_item.history_modifier_id) except User.ObjectDoesNotExist: pass + # force label regeneration + self._cached_label_checked = False self.save() except: raise HistoryError(u"The rollback has failed.") |