add original creator
This commit is contained in:
parent
996a542265
commit
26c8b42e64
3 changed files with 19 additions and 1 deletions
|
@ -48,6 +48,13 @@ class Performance(Item):
|
|||
blank=True,
|
||||
default=list,
|
||||
)
|
||||
orig_creator = jsondata.ArrayField(
|
||||
verbose_name=_("原作者"),
|
||||
base_field=models.CharField(blank=True, default="", max_length=500),
|
||||
null=False,
|
||||
blank=True,
|
||||
default=list,
|
||||
)
|
||||
composer = jsondata.ArrayField(
|
||||
verbose_name=_("作曲"),
|
||||
base_field=models.CharField(blank=True, default="", max_length=500),
|
||||
|
@ -112,6 +119,7 @@ class Performance(Item):
|
|||
"location",
|
||||
"director",
|
||||
"playwright",
|
||||
"orig_creator",
|
||||
"composer",
|
||||
"choreographer",
|
||||
"performer",
|
||||
|
@ -167,6 +175,13 @@ class PerformanceProduction(Item):
|
|||
blank=True,
|
||||
default=list,
|
||||
)
|
||||
orig_creator = jsondata.ArrayField(
|
||||
verbose_name=_("原作者"),
|
||||
base_field=models.CharField(blank=True, default="", max_length=500),
|
||||
null=False,
|
||||
blank=True,
|
||||
default=list,
|
||||
)
|
||||
composer = jsondata.ArrayField(
|
||||
verbose_name=_("作曲"),
|
||||
base_field=models.CharField(blank=True, default="", max_length=500),
|
||||
|
@ -223,7 +238,6 @@ class PerformanceProduction(Item):
|
|||
"brief",
|
||||
"orig_title",
|
||||
"other_title",
|
||||
"genre",
|
||||
"language",
|
||||
"opening_date",
|
||||
"closing_date",
|
||||
|
@ -231,6 +245,7 @@ class PerformanceProduction(Item):
|
|||
"location",
|
||||
"director",
|
||||
"playwright",
|
||||
"orig_creator",
|
||||
"composer",
|
||||
"choreographer",
|
||||
"performer",
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
<div>{% include '_people.html' with people=item.troupe role='剧团' max=5 %}</div>
|
||||
<div>{% include '_people.html' with people=item.location role='剧院' max=5 %}</div>
|
||||
<div>{% include '_people.html' with people=item.language role='语言' max=5 %}</div>
|
||||
<div>{% include '_people.html' with people=item.orig_creator role='原作' max=5 %}</div>
|
||||
<div>{% include '_people.html' with people=item.director role='导演' max=5 %}</div>
|
||||
<div>{% include '_people.html' with people=item.playwright role='编剧' max=5 %}</div>
|
||||
<div>{% include '_people.html' with people=item.performer role='演员' max=10 %}</div>
|
||||
|
@ -54,6 +55,7 @@
|
|||
{% include '_people.html' with people=prod.language _role='语言' max=5 %}
|
||||
</div>
|
||||
<div class="tldr-2">
|
||||
{% include '_people.html' with people=prod.orig_creator role='原作' max=2 %}
|
||||
{% include '_people.html' with people=prod.director role='导演' max=2 %}
|
||||
{% include '_people.html' with people=prod.playwright role='编剧' max=2 %}
|
||||
{% include '_people.html' with people=prod.performer role='演员' max=5 %}
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
<div>{% include '_people.html' with people=item.troupe role='剧团' max=5 %}</div>
|
||||
<div>{% include '_people.html' with people=item.location role='剧院' max=5 %}</div>
|
||||
<div>{% include '_people.html' with people=item.language role='语言' max=5 %}</div>
|
||||
<div>{% include '_people.html' with people=item.orig_creator role='原作' max=5 %}</div>
|
||||
<div>{% include '_people.html' with people=item.director role='导演' max=5 %}</div>
|
||||
<div>{% include '_people.html' with people=item.playwright role='编剧' max=5 %}</div>
|
||||
<div>{% include '_people.html' with people=item.performer role='演员' max=10 %}</div>
|
||||
|
|
Loading…
Add table
Reference in a new issue