Skip to content

Commit

Permalink
feat(core/models.py): Add talk_language
Browse files Browse the repository at this point in the history
  • Loading branch information
setmao committed Feb 27, 2022
1 parent bfe7a52 commit f42c6a4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/core/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,11 @@ class EventInfo(models.Model):
choices=LANGUAGE_CHOICES,
)

talk_language = models.CharField(
verbose_name=_('Talk language'),
max_length=32,
)

abstract = EAWTextField(
verbose_name=_('abstract'),
max_length=1000,
Expand Down
4 changes: 4 additions & 0 deletions src/proposals/forms/proposals.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ class Meta(TalkProposalMixin.Meta):
'category',
'duration',
'language',
'talk_language',
'python_level',
'recording_policy',
'live_stream_policy',
Expand Down Expand Up @@ -69,6 +70,7 @@ class Meta(TutorialProposalMixin.Meta):
'category',
'duration',
'language',
'talk_language',
'python_level',
'recording_policy',
'live_stream_policy',
Expand Down Expand Up @@ -105,6 +107,7 @@ class Meta(TalkProposalMixin.Meta):
'category',
'duration',
'language',
'talk_language',
'abstract',
'python_level',
'objective',
Expand Down Expand Up @@ -137,6 +140,7 @@ class Meta(TutorialProposalMixin.Meta):
'category',
'duration',
'language',
'talk_language',
'abstract',
'python_level',
'objective',
Expand Down

0 comments on commit f42c6a4

Please sign in to comment.