cluster by clips, never cache
This commit is contained in:
parent
db6a2f25bd
commit
ade1177101
2 changed files with 19 additions and 9 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue