From 85fd930360664d54b4aa32a0fa91001fb62637d7 Mon Sep 17 00:00:00 2001 From: j Date: Wed, 24 Nov 2021 17:02:05 +0100 Subject: [PATCH] update cache on editing items --- pandora/item/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pandora/item/models.py b/pandora/item/models.py index 6279948d..e01e5843 100644 --- a/pandora/item/models.py +++ b/pandora/item/models.py @@ -294,6 +294,7 @@ class Item(models.Model): self.data[key] = data[key] else: self.data[key] = ox.escape_html(data[key]) + self.cache = self.json() p = self.save() if not settings.USE_IMDB and list(filter(lambda k: k in self.poster_keys, data)): if is_task: