feat [both]: allow dubbed

This commit is contained in:
Alice 2022-12-04 03:11:55 +01:00
parent 5339cf8d0f
commit 4be2470122
3 changed files with 6 additions and 0 deletions

View file

@ -98,6 +98,10 @@
<input type="radio" name="language-subtitle" />
{{ LanguageSubtitles.FOREIGN }}
</label>
<label class="radio">
<input type="radio" name="language-subtitle" />
{{ LanguageSubtitles.DUBBED }}
</label>
</div>
</div>

View file

@ -5,6 +5,7 @@ export enum Format {
export enum LanguageSubtitles {
FRENCH = "VOF",
FOREIGN = "VOSTFR",
DUBBED = "VF",
}
export type Film = {

View file

@ -14,6 +14,7 @@ class Film(models.Model):
class LanguageSubtitles(models.TextChoices):
FRENCH = "VOF"
FOREIGN = "VOSTFR"
DUBBED = "VF"
projection_date = models.DateTimeField(null=True, blank=True)
title = models.CharField(max_length=60)