-
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.
Co-authored-by: James Biggs <[email protected]>
- Loading branch information
1 parent
cfa7e7f
commit c3038ff
Showing
4 changed files
with
85 additions
and
1 deletion.
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
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,47 @@ | ||
# Generated by Django 5.0.8 on 2024-10-21 10:27 | ||
|
||
import django.core.validators | ||
import wagtail.fields | ||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("media", "0001_initial"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="etnamedia", | ||
name="chapters", | ||
field=wagtail.fields.StreamField( | ||
[("chapter", 3)], | ||
blank=True, | ||
block_lookup={ | ||
0: ( | ||
"wagtail.blocks.IntegerBlock", | ||
(), | ||
{ | ||
"blank": True, | ||
"default": 0, | ||
"label": "Time in seconds", | ||
"validators": [django.core.validators.MinValueValidator(0)], | ||
}, | ||
), | ||
1: ("wagtail.blocks.CharBlock", (), {"max_length": 20}), | ||
2: ( | ||
"etna.core.blocks.paragraph.APIRichTextBlock", | ||
(), | ||
{"features": ["bold", "italic"], "required": False}, | ||
), | ||
3: ( | ||
"wagtail.blocks.StructBlock", | ||
[[("time", 0), ("heading", 1), ("transcript", 2)]], | ||
{}, | ||
), | ||
}, | ||
null=True, | ||
), | ||
), | ||
] |
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