35 lines
2.0 KiB
Python
35 lines
2.0 KiB
Python
# Generated by Django 3.2.13 on 2022-09-14 13:38
|
|
|
|
import books.blocks
|
|
from django.db import migrations
|
|
import wagtail.blocks
|
|
import wagtail.fields
|
|
import wagtail.images.blocks
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('basicknowledge', '0024_auto_20220913_1055'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AlterModelOptions(
|
|
name='basicknowledge',
|
|
options={'verbose_name': 'instrument', 'verbose_name_plural': 'instruments'},
|
|
),
|
|
migrations.AlterModelOptions(
|
|
name='instrumentcategory',
|
|
options={'verbose_name': 'instrument category', 'verbose_name_plural': 'instrument categories'},
|
|
),
|
|
migrations.AlterModelOptions(
|
|
name='instrumenttype',
|
|
options={'verbose_name': 'instrument type', 'verbose_name_plural': 'instrument types'},
|
|
),
|
|
migrations.AlterField(
|
|
model_name='basicknowledge',
|
|
name='contents',
|
|
field=wagtail.fields.StreamField([('text_block', wagtail.blocks.StructBlock([('text', wagtail.blocks.RichTextBlock(features=['bold', 'ul', 'brand', 'secondary']))])), ('image_block', wagtail.images.blocks.ImageChooserBlock()), ('link_block', wagtail.blocks.StructBlock([('text', wagtail.blocks.TextBlock()), ('url', wagtail.blocks.URLBlock())])), ('video_block', wagtail.blocks.StructBlock([('url', wagtail.blocks.URLBlock())])), ('document_block', wagtail.blocks.StructBlock([('url', wagtail.blocks.URLBlock())])), ('section_title', wagtail.blocks.StructBlock([('text', wagtail.blocks.TextBlock())])), ('infogram_block', wagtail.blocks.StructBlock([('id', wagtail.blocks.TextBlock()), ('title', wagtail.blocks.TextBlock())])), ('genially_block', wagtail.blocks.StructBlock([('id', wagtail.blocks.TextBlock())])), ('thinglink_block', wagtail.blocks.StructBlock([('id', wagtail.blocks.TextBlock())])), ('subtitle', wagtail.blocks.StructBlock([('text', wagtail.blocks.TextBlock())])), ('cms_document_block', books.blocks.CMSDocumentBlock())], blank=True, null=True),
|
|
),
|
|
]
|