update cache on editing items
This commit is contained in:
parent
e237d08120
commit
85fd930360
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue