You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
2.5 KiB
37 lines
2.5 KiB
# Generated by Django 5.2 on 2025-04-29 12:32
|
|
|
|
import django.db.models.deletion
|
|
import wagtail.fields
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('core', '0011_alter_contactformfield_choices_and_more'),
|
|
('wagtailcore', '0094_alter_page_locale'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='AboutUsPage',
|
|
fields=[
|
|
('page_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='wagtailcore.page')),
|
|
('company_intro', wagtail.fields.RichTextField(blank=True, help_text='Introductory text about the company')),
|
|
('mission_title', models.CharField(blank=True, max_length=255)),
|
|
('mission_text', wagtail.fields.RichTextField(blank=True)),
|
|
('vision_title', models.CharField(blank=True, max_length=255)),
|
|
('vision_text', wagtail.fields.RichTextField(blank=True)),
|
|
('history_title', models.CharField(blank=True, max_length=255)),
|
|
('history_text', wagtail.fields.RichTextField(blank=True)),
|
|
('team_title', models.CharField(blank=True, max_length=255)),
|
|
('team_intro', wagtail.fields.RichTextField(blank=True)),
|
|
('team_members', wagtail.fields.StreamField([('team_member', 5)], blank=True, block_lookup={0: ('wagtail.blocks.CharBlock', (), {'max_length': 255}), 1: ('wagtail.images.blocks.ImageChooserBlock', (), {'required': False}), 2: ('wagtail.blocks.RichTextBlock', (), {'required': False}), 3: ('wagtail.blocks.EmailBlock', (), {'required': False}), 4: ('wagtail.blocks.URLBlock', (), {'required': False}), 5: ('wagtail.blocks.StructBlock', [[('name', 0), ('position', 0), ('photo', 1), ('bio', 2), ('email', 3), ('linkedin', 4), ('xing', 4)]], {})}, null=True)),
|
|
('additional_content', wagtail.fields.StreamField([('heading', 0), ('paragraph', 1), ('image', 2), ('quote', 5)], blank=True, block_lookup={0: ('wagtail.blocks.CharBlock', (), {'form_classname': 'full title'}), 1: ('wagtail.blocks.RichTextBlock', (), {}), 2: ('wagtail.images.blocks.ImageChooserBlock', (), {}), 3: ('wagtail.blocks.TextBlock', (), {}), 4: ('wagtail.blocks.CharBlock', (), {'required': False}), 5: ('wagtail.blocks.StructBlock', [[('quote', 3), ('attribution', 4)]], {})}, null=True)),
|
|
],
|
|
options={
|
|
'abstract': False,
|
|
},
|
|
bases=('wagtailcore.page',),
|
|
),
|
|
]
|
|
|