update cache on editing items

This commit is contained in:
j 2021-11-24 17:02:05 +01:00
parent e237d08120
commit 85fd930360

View file

@ -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: