add artist name
This commit is contained in:
parent
38e6bc6313
commit
bfac91c779
3 changed files with 4 additions and 2 deletions
|
|
@ -145,7 +145,7 @@ class Text(models.Model):
|
|||
if item_id:
|
||||
item = Film.objects.filter(padma_id=item_id).first()
|
||||
if item:
|
||||
for key in ('title', 'title_zh'):
|
||||
for key in ('title', 'title_zh', 'director'):
|
||||
data['item_' + key] = item.data[key]
|
||||
data['item_url'] = item.get_absolute_url()
|
||||
if isinstance(self.annotations, list) and len(self.annotations) > 0:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue