-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add VTT subtitles and chapters fields to media items (#1736)
Co-authored-by: James Biggs <[email protected]>
- Loading branch information
1 parent
115ae95
commit f3ea5ff
Showing
4 changed files
with
76 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
etna/media/migrations/0003_etnamedia_chapters_file_etnamedia_subtitles_file.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Generated by Django 5.0.9 on 2024-10-24 15:26 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("media", "0002_etnamedia_chapters"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="etnamedia", | ||
name="chapters_file", | ||
field=models.FileField( | ||
blank=True, null=True, upload_to="media", verbose_name="chapters file" | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="etnamedia", | ||
name="subtitles_file", | ||
field=models.FileField( | ||
blank=True, null=True, upload_to="media", verbose_name="subtitles file" | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters