cluster by clips, never cache

This commit is contained in:
j 2021-11-24 12:05:09 +01:00
commit ade1177101
2 changed files with 19 additions and 9 deletions

View file

@ -174,7 +174,7 @@ class Text(models.Model):
if not item_id:
item_id = self.data.get('item')
if item_id:
item = Film.objects.filter(pandora_id=item_id).first()
item = Film.objects.filter(pandora_url=item_id).first()
if item:
for key in ('title', 'title_zh', 'director'):
data['item_' + key] = item.data[key]