towards njp.ma
This commit is contained in:
parent
a7c48d557d
commit
b24ba91bfc
23 changed files with 167 additions and 524 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(padma_id=item_id).first()
|
||||
item = Film.objects.filter(pandora_id=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