kopia lustrzana https://github.com/wagtail/wagtail
25 wiersze
966 B
Python
25 wiersze
966 B
Python
# Generated by Django 4.2.11 on 2024-04-22 08:19
|
|
|
|
from django.db import migrations, models
|
|
import wagtail.blocks
|
|
import wagtail.fields
|
|
import wagtail.images.blocks
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('tests', '0036_complexdefaultstreampage'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='JSONCustomValueStreamModel',
|
|
fields=[
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('primary_content', wagtail.fields.StreamField([('text', wagtail.blocks.CharBlock()), ('rich_text', wagtail.blocks.RichTextBlock()), ('image', wagtail.images.blocks.ImageChooserBlock())])),
|
|
('secondary_content', wagtail.fields.StreamField([('text', wagtail.blocks.CharBlock()), ('rich_text', wagtail.blocks.RichTextBlock()), ('image', wagtail.images.blocks.ImageChooserBlock())])),
|
|
],
|
|
),
|
|
]
|