Enable locale-prefixed routing with required i18n settings schema
This commit is contained in:
@@ -0,0 +1,294 @@
|
||||
# Generated by Django 5.2.11 on 2026-03-16 08:35
|
||||
|
||||
import wagtail.fields
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('ocyan_plugin_wagtail', '0029_alter_abstractbasepage_canonical_url'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='ocyansettings',
|
||||
name='delivery_time_text_de',
|
||||
field=wagtail.fields.RichTextField(blank=True, null=True, verbose_name='Delivery time explanation'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='ocyansettings',
|
||||
name='delivery_time_text_en',
|
||||
field=wagtail.fields.RichTextField(blank=True, null=True, verbose_name='Delivery time explanation'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='ocyansettings',
|
||||
name='delivery_time_text_es',
|
||||
field=wagtail.fields.RichTextField(blank=True, null=True, verbose_name='Delivery time explanation'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='ocyansettings',
|
||||
name='delivery_time_text_fr',
|
||||
field=wagtail.fields.RichTextField(blank=True, null=True, verbose_name='Delivery time explanation'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='ocyansettings',
|
||||
name='delivery_time_text_it',
|
||||
field=wagtail.fields.RichTextField(blank=True, null=True, verbose_name='Delivery time explanation'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='ocyansettings',
|
||||
name='delivery_time_text_pt',
|
||||
field=wagtail.fields.RichTextField(blank=True, null=True, verbose_name='Delivery time explanation'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='ocyansettings',
|
||||
name='delivery_time_text_ru',
|
||||
field=wagtail.fields.RichTextField(blank=True, null=True, verbose_name='Delivery time explanation'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='ocyansettings',
|
||||
name='footer_de',
|
||||
field=wagtail.fields.StreamField([('about_us', 2), ('text', 2), ('page_list', 4), ('SubscriptionBlock', 7)], block_lookup={0: ('wagtail.blocks.CharBlock', (), {'help_text': 'Heading of the content block.', 'label': 'Heading', 'required': False}), 1: ('wagtail.blocks.RichTextBlock', (), {}), 2: ('wagtail.blocks.StructBlock', [[('heading', 0), ('content', 1)]], {}), 3: ('wagtail.blocks.PageChooserBlock', (), {'help_text': 'List pages below this page', 'label': 'Page'}), 4: ('wagtail.blocks.StructBlock', [[('heading', 0), ('page', 3)]], {}), 5: ('wagtail.blocks.CharBlock', (), {'label': 'Title', 'required': False}), 6: ('wagtail.blocks.TextBlock', (), {'label': 'Description', 'required': False}), 7: ('wagtail.blocks.StructBlock', [[('title', 5), ('description', 6)]], {})}, null=True),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='ocyansettings',
|
||||
name='footer_en',
|
||||
field=wagtail.fields.StreamField([('about_us', 2), ('text', 2), ('page_list', 4), ('SubscriptionBlock', 7)], block_lookup={0: ('wagtail.blocks.CharBlock', (), {'help_text': 'Heading of the content block.', 'label': 'Heading', 'required': False}), 1: ('wagtail.blocks.RichTextBlock', (), {}), 2: ('wagtail.blocks.StructBlock', [[('heading', 0), ('content', 1)]], {}), 3: ('wagtail.blocks.PageChooserBlock', (), {'help_text': 'List pages below this page', 'label': 'Page'}), 4: ('wagtail.blocks.StructBlock', [[('heading', 0), ('page', 3)]], {}), 5: ('wagtail.blocks.CharBlock', (), {'label': 'Title', 'required': False}), 6: ('wagtail.blocks.TextBlock', (), {'label': 'Description', 'required': False}), 7: ('wagtail.blocks.StructBlock', [[('title', 5), ('description', 6)]], {})}, null=True),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='ocyansettings',
|
||||
name='footer_es',
|
||||
field=wagtail.fields.StreamField([('about_us', 2), ('text', 2), ('page_list', 4), ('SubscriptionBlock', 7)], block_lookup={0: ('wagtail.blocks.CharBlock', (), {'help_text': 'Heading of the content block.', 'label': 'Heading', 'required': False}), 1: ('wagtail.blocks.RichTextBlock', (), {}), 2: ('wagtail.blocks.StructBlock', [[('heading', 0), ('content', 1)]], {}), 3: ('wagtail.blocks.PageChooserBlock', (), {'help_text': 'List pages below this page', 'label': 'Page'}), 4: ('wagtail.blocks.StructBlock', [[('heading', 0), ('page', 3)]], {}), 5: ('wagtail.blocks.CharBlock', (), {'label': 'Title', 'required': False}), 6: ('wagtail.blocks.TextBlock', (), {'label': 'Description', 'required': False}), 7: ('wagtail.blocks.StructBlock', [[('title', 5), ('description', 6)]], {})}, null=True),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='ocyansettings',
|
||||
name='footer_fr',
|
||||
field=wagtail.fields.StreamField([('about_us', 2), ('text', 2), ('page_list', 4), ('SubscriptionBlock', 7)], block_lookup={0: ('wagtail.blocks.CharBlock', (), {'help_text': 'Heading of the content block.', 'label': 'Heading', 'required': False}), 1: ('wagtail.blocks.RichTextBlock', (), {}), 2: ('wagtail.blocks.StructBlock', [[('heading', 0), ('content', 1)]], {}), 3: ('wagtail.blocks.PageChooserBlock', (), {'help_text': 'List pages below this page', 'label': 'Page'}), 4: ('wagtail.blocks.StructBlock', [[('heading', 0), ('page', 3)]], {}), 5: ('wagtail.blocks.CharBlock', (), {'label': 'Title', 'required': False}), 6: ('wagtail.blocks.TextBlock', (), {'label': 'Description', 'required': False}), 7: ('wagtail.blocks.StructBlock', [[('title', 5), ('description', 6)]], {})}, null=True),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='ocyansettings',
|
||||
name='footer_it',
|
||||
field=wagtail.fields.StreamField([('about_us', 2), ('text', 2), ('page_list', 4), ('SubscriptionBlock', 7)], block_lookup={0: ('wagtail.blocks.CharBlock', (), {'help_text': 'Heading of the content block.', 'label': 'Heading', 'required': False}), 1: ('wagtail.blocks.RichTextBlock', (), {}), 2: ('wagtail.blocks.StructBlock', [[('heading', 0), ('content', 1)]], {}), 3: ('wagtail.blocks.PageChooserBlock', (), {'help_text': 'List pages below this page', 'label': 'Page'}), 4: ('wagtail.blocks.StructBlock', [[('heading', 0), ('page', 3)]], {}), 5: ('wagtail.blocks.CharBlock', (), {'label': 'Title', 'required': False}), 6: ('wagtail.blocks.TextBlock', (), {'label': 'Description', 'required': False}), 7: ('wagtail.blocks.StructBlock', [[('title', 5), ('description', 6)]], {})}, null=True),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='ocyansettings',
|
||||
name='footer_pt',
|
||||
field=wagtail.fields.StreamField([('about_us', 2), ('text', 2), ('page_list', 4), ('SubscriptionBlock', 7)], block_lookup={0: ('wagtail.blocks.CharBlock', (), {'help_text': 'Heading of the content block.', 'label': 'Heading', 'required': False}), 1: ('wagtail.blocks.RichTextBlock', (), {}), 2: ('wagtail.blocks.StructBlock', [[('heading', 0), ('content', 1)]], {}), 3: ('wagtail.blocks.PageChooserBlock', (), {'help_text': 'List pages below this page', 'label': 'Page'}), 4: ('wagtail.blocks.StructBlock', [[('heading', 0), ('page', 3)]], {}), 5: ('wagtail.blocks.CharBlock', (), {'label': 'Title', 'required': False}), 6: ('wagtail.blocks.TextBlock', (), {'label': 'Description', 'required': False}), 7: ('wagtail.blocks.StructBlock', [[('title', 5), ('description', 6)]], {})}, null=True),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='ocyansettings',
|
||||
name='footer_ru',
|
||||
field=wagtail.fields.StreamField([('about_us', 2), ('text', 2), ('page_list', 4), ('SubscriptionBlock', 7)], block_lookup={0: ('wagtail.blocks.CharBlock', (), {'help_text': 'Heading of the content block.', 'label': 'Heading', 'required': False}), 1: ('wagtail.blocks.RichTextBlock', (), {}), 2: ('wagtail.blocks.StructBlock', [[('heading', 0), ('content', 1)]], {}), 3: ('wagtail.blocks.PageChooserBlock', (), {'help_text': 'List pages below this page', 'label': 'Page'}), 4: ('wagtail.blocks.StructBlock', [[('heading', 0), ('page', 3)]], {}), 5: ('wagtail.blocks.CharBlock', (), {'label': 'Title', 'required': False}), 6: ('wagtail.blocks.TextBlock', (), {'label': 'Description', 'required': False}), 7: ('wagtail.blocks.StructBlock', [[('title', 5), ('description', 6)]], {})}, null=True),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='ocyansettings',
|
||||
name='header_content_de',
|
||||
field=wagtail.fields.StreamField([('text', 0), ('image', 1), ('image_link', 4), ('SubscriptionBlock', 7)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {}), 1: ('wagtail.images.blocks.ImageChooserBlock', (), {}), 2: ('wagtail.blocks.PageChooserBlock', (), {'help_text': 'Optional, you can enter a external link too.', 'required': False}), 3: ('wagtail.blocks.CharBlock', (), {'help_text': 'Optional, you can choose a page too.', 'required': False}), 4: ('wagtail.blocks.StructBlock', [[('image', 1), ('page', 2), ('external_link', 3)]], {}), 5: ('wagtail.blocks.CharBlock', (), {'label': 'Title', 'required': False}), 6: ('wagtail.blocks.TextBlock', (), {'label': 'Description', 'required': False}), 7: ('wagtail.blocks.StructBlock', [[('title', 5), ('description', 6)]], {})}, null=True),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='ocyansettings',
|
||||
name='header_content_en',
|
||||
field=wagtail.fields.StreamField([('text', 0), ('image', 1), ('image_link', 4), ('SubscriptionBlock', 7)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {}), 1: ('wagtail.images.blocks.ImageChooserBlock', (), {}), 2: ('wagtail.blocks.PageChooserBlock', (), {'help_text': 'Optional, you can enter a external link too.', 'required': False}), 3: ('wagtail.blocks.CharBlock', (), {'help_text': 'Optional, you can choose a page too.', 'required': False}), 4: ('wagtail.blocks.StructBlock', [[('image', 1), ('page', 2), ('external_link', 3)]], {}), 5: ('wagtail.blocks.CharBlock', (), {'label': 'Title', 'required': False}), 6: ('wagtail.blocks.TextBlock', (), {'label': 'Description', 'required': False}), 7: ('wagtail.blocks.StructBlock', [[('title', 5), ('description', 6)]], {})}, null=True),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='ocyansettings',
|
||||
name='header_content_es',
|
||||
field=wagtail.fields.StreamField([('text', 0), ('image', 1), ('image_link', 4), ('SubscriptionBlock', 7)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {}), 1: ('wagtail.images.blocks.ImageChooserBlock', (), {}), 2: ('wagtail.blocks.PageChooserBlock', (), {'help_text': 'Optional, you can enter a external link too.', 'required': False}), 3: ('wagtail.blocks.CharBlock', (), {'help_text': 'Optional, you can choose a page too.', 'required': False}), 4: ('wagtail.blocks.StructBlock', [[('image', 1), ('page', 2), ('external_link', 3)]], {}), 5: ('wagtail.blocks.CharBlock', (), {'label': 'Title', 'required': False}), 6: ('wagtail.blocks.TextBlock', (), {'label': 'Description', 'required': False}), 7: ('wagtail.blocks.StructBlock', [[('title', 5), ('description', 6)]], {})}, null=True),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='ocyansettings',
|
||||
name='header_content_fr',
|
||||
field=wagtail.fields.StreamField([('text', 0), ('image', 1), ('image_link', 4), ('SubscriptionBlock', 7)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {}), 1: ('wagtail.images.blocks.ImageChooserBlock', (), {}), 2: ('wagtail.blocks.PageChooserBlock', (), {'help_text': 'Optional, you can enter a external link too.', 'required': False}), 3: ('wagtail.blocks.CharBlock', (), {'help_text': 'Optional, you can choose a page too.', 'required': False}), 4: ('wagtail.blocks.StructBlock', [[('image', 1), ('page', 2), ('external_link', 3)]], {}), 5: ('wagtail.blocks.CharBlock', (), {'label': 'Title', 'required': False}), 6: ('wagtail.blocks.TextBlock', (), {'label': 'Description', 'required': False}), 7: ('wagtail.blocks.StructBlock', [[('title', 5), ('description', 6)]], {})}, null=True),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='ocyansettings',
|
||||
name='header_content_it',
|
||||
field=wagtail.fields.StreamField([('text', 0), ('image', 1), ('image_link', 4), ('SubscriptionBlock', 7)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {}), 1: ('wagtail.images.blocks.ImageChooserBlock', (), {}), 2: ('wagtail.blocks.PageChooserBlock', (), {'help_text': 'Optional, you can enter a external link too.', 'required': False}), 3: ('wagtail.blocks.CharBlock', (), {'help_text': 'Optional, you can choose a page too.', 'required': False}), 4: ('wagtail.blocks.StructBlock', [[('image', 1), ('page', 2), ('external_link', 3)]], {}), 5: ('wagtail.blocks.CharBlock', (), {'label': 'Title', 'required': False}), 6: ('wagtail.blocks.TextBlock', (), {'label': 'Description', 'required': False}), 7: ('wagtail.blocks.StructBlock', [[('title', 5), ('description', 6)]], {})}, null=True),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='ocyansettings',
|
||||
name='header_content_pt',
|
||||
field=wagtail.fields.StreamField([('text', 0), ('image', 1), ('image_link', 4), ('SubscriptionBlock', 7)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {}), 1: ('wagtail.images.blocks.ImageChooserBlock', (), {}), 2: ('wagtail.blocks.PageChooserBlock', (), {'help_text': 'Optional, you can enter a external link too.', 'required': False}), 3: ('wagtail.blocks.CharBlock', (), {'help_text': 'Optional, you can choose a page too.', 'required': False}), 4: ('wagtail.blocks.StructBlock', [[('image', 1), ('page', 2), ('external_link', 3)]], {}), 5: ('wagtail.blocks.CharBlock', (), {'label': 'Title', 'required': False}), 6: ('wagtail.blocks.TextBlock', (), {'label': 'Description', 'required': False}), 7: ('wagtail.blocks.StructBlock', [[('title', 5), ('description', 6)]], {})}, null=True),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='ocyansettings',
|
||||
name='header_content_ru',
|
||||
field=wagtail.fields.StreamField([('text', 0), ('image', 1), ('image_link', 4), ('SubscriptionBlock', 7)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {}), 1: ('wagtail.images.blocks.ImageChooserBlock', (), {}), 2: ('wagtail.blocks.PageChooserBlock', (), {'help_text': 'Optional, you can enter a external link too.', 'required': False}), 3: ('wagtail.blocks.CharBlock', (), {'help_text': 'Optional, you can choose a page too.', 'required': False}), 4: ('wagtail.blocks.StructBlock', [[('image', 1), ('page', 2), ('external_link', 3)]], {}), 5: ('wagtail.blocks.CharBlock', (), {'label': 'Title', 'required': False}), 6: ('wagtail.blocks.TextBlock', (), {'label': 'Description', 'required': False}), 7: ('wagtail.blocks.StructBlock', [[('title', 5), ('description', 6)]], {})}, null=True),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='ocyansettings',
|
||||
name='invoice_footer_text_de',
|
||||
field=wagtail.fields.RichTextField(blank=True, help_text='This text will be displayed at the bottom of your invoice', null=True, verbose_name='Invoice footer text'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='ocyansettings',
|
||||
name='invoice_footer_text_en',
|
||||
field=wagtail.fields.RichTextField(blank=True, help_text='This text will be displayed at the bottom of your invoice', null=True, verbose_name='Invoice footer text'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='ocyansettings',
|
||||
name='invoice_footer_text_es',
|
||||
field=wagtail.fields.RichTextField(blank=True, help_text='This text will be displayed at the bottom of your invoice', null=True, verbose_name='Invoice footer text'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='ocyansettings',
|
||||
name='invoice_footer_text_fr',
|
||||
field=wagtail.fields.RichTextField(blank=True, help_text='This text will be displayed at the bottom of your invoice', null=True, verbose_name='Invoice footer text'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='ocyansettings',
|
||||
name='invoice_footer_text_it',
|
||||
field=wagtail.fields.RichTextField(blank=True, help_text='This text will be displayed at the bottom of your invoice', null=True, verbose_name='Invoice footer text'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='ocyansettings',
|
||||
name='invoice_footer_text_pt',
|
||||
field=wagtail.fields.RichTextField(blank=True, help_text='This text will be displayed at the bottom of your invoice', null=True, verbose_name='Invoice footer text'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='ocyansettings',
|
||||
name='invoice_footer_text_ru',
|
||||
field=wagtail.fields.RichTextField(blank=True, help_text='This text will be displayed at the bottom of your invoice', null=True, verbose_name='Invoice footer text'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='ocyansettings',
|
||||
name='mini_footer_de',
|
||||
field=wagtail.fields.StreamField([('text', 0)], block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {})}, null=True),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='ocyansettings',
|
||||
name='mini_footer_en',
|
||||
field=wagtail.fields.StreamField([('text', 0)], block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {})}, null=True),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='ocyansettings',
|
||||
name='mini_footer_es',
|
||||
field=wagtail.fields.StreamField([('text', 0)], block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {})}, null=True),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='ocyansettings',
|
||||
name='mini_footer_fr',
|
||||
field=wagtail.fields.StreamField([('text', 0)], block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {})}, null=True),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='ocyansettings',
|
||||
name='mini_footer_it',
|
||||
field=wagtail.fields.StreamField([('text', 0)], block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {})}, null=True),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='ocyansettings',
|
||||
name='mini_footer_pt',
|
||||
field=wagtail.fields.StreamField([('text', 0)], block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {})}, null=True),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='ocyansettings',
|
||||
name='mini_footer_ru',
|
||||
field=wagtail.fields.StreamField([('text', 0)], block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {})}, null=True),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='ocyansettings',
|
||||
name='promo_header_de',
|
||||
field=wagtail.fields.StreamField([('text', 0), ('image', 1), ('TextSlider', 4)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {}), 1: ('wagtail.images.blocks.ImageChooserBlock', (), {}), 2: ('wagtail.blocks.CharBlock', (), {}), 3: ('wagtail.blocks.StructBlock', [[('text', 2)]], {}), 4: ('wagtail.blocks.ListBlock', (3,), {})}, help_text='Mobile only', null=True),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='ocyansettings',
|
||||
name='promo_header_en',
|
||||
field=wagtail.fields.StreamField([('text', 0), ('image', 1), ('TextSlider', 4)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {}), 1: ('wagtail.images.blocks.ImageChooserBlock', (), {}), 2: ('wagtail.blocks.CharBlock', (), {}), 3: ('wagtail.blocks.StructBlock', [[('text', 2)]], {}), 4: ('wagtail.blocks.ListBlock', (3,), {})}, help_text='Mobile only', null=True),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='ocyansettings',
|
||||
name='promo_header_es',
|
||||
field=wagtail.fields.StreamField([('text', 0), ('image', 1), ('TextSlider', 4)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {}), 1: ('wagtail.images.blocks.ImageChooserBlock', (), {}), 2: ('wagtail.blocks.CharBlock', (), {}), 3: ('wagtail.blocks.StructBlock', [[('text', 2)]], {}), 4: ('wagtail.blocks.ListBlock', (3,), {})}, help_text='Mobile only', null=True),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='ocyansettings',
|
||||
name='promo_header_fr',
|
||||
field=wagtail.fields.StreamField([('text', 0), ('image', 1), ('TextSlider', 4)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {}), 1: ('wagtail.images.blocks.ImageChooserBlock', (), {}), 2: ('wagtail.blocks.CharBlock', (), {}), 3: ('wagtail.blocks.StructBlock', [[('text', 2)]], {}), 4: ('wagtail.blocks.ListBlock', (3,), {})}, help_text='Mobile only', null=True),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='ocyansettings',
|
||||
name='promo_header_it',
|
||||
field=wagtail.fields.StreamField([('text', 0), ('image', 1), ('TextSlider', 4)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {}), 1: ('wagtail.images.blocks.ImageChooserBlock', (), {}), 2: ('wagtail.blocks.CharBlock', (), {}), 3: ('wagtail.blocks.StructBlock', [[('text', 2)]], {}), 4: ('wagtail.blocks.ListBlock', (3,), {})}, help_text='Mobile only', null=True),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='ocyansettings',
|
||||
name='promo_header_pt',
|
||||
field=wagtail.fields.StreamField([('text', 0), ('image', 1), ('TextSlider', 4)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {}), 1: ('wagtail.images.blocks.ImageChooserBlock', (), {}), 2: ('wagtail.blocks.CharBlock', (), {}), 3: ('wagtail.blocks.StructBlock', [[('text', 2)]], {}), 4: ('wagtail.blocks.ListBlock', (3,), {})}, help_text='Mobile only', null=True),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='ocyansettings',
|
||||
name='promo_header_ru',
|
||||
field=wagtail.fields.StreamField([('text', 0), ('image', 1), ('TextSlider', 4)], blank=True, block_lookup={0: ('wagtail.blocks.RichTextBlock', (), {}), 1: ('wagtail.images.blocks.ImageChooserBlock', (), {}), 2: ('wagtail.blocks.CharBlock', (), {}), 3: ('wagtail.blocks.StructBlock', [[('text', 2)]], {}), 4: ('wagtail.blocks.ListBlock', (3,), {})}, help_text='Mobile only', null=True),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='ocyansettings',
|
||||
name='seo_description_de',
|
||||
field=models.CharField(blank=True, max_length=255, null=True, verbose_name='Description'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='ocyansettings',
|
||||
name='seo_description_en',
|
||||
field=models.CharField(blank=True, max_length=255, null=True, verbose_name='Description'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='ocyansettings',
|
||||
name='seo_description_es',
|
||||
field=models.CharField(blank=True, max_length=255, null=True, verbose_name='Description'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='ocyansettings',
|
||||
name='seo_description_fr',
|
||||
field=models.CharField(blank=True, max_length=255, null=True, verbose_name='Description'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='ocyansettings',
|
||||
name='seo_description_it',
|
||||
field=models.CharField(blank=True, max_length=255, null=True, verbose_name='Description'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='ocyansettings',
|
||||
name='seo_description_pt',
|
||||
field=models.CharField(blank=True, max_length=255, null=True, verbose_name='Description'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='ocyansettings',
|
||||
name='seo_description_ru',
|
||||
field=models.CharField(blank=True, max_length=255, null=True, verbose_name='Description'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='ocyansettings',
|
||||
name='seo_title_de',
|
||||
field=models.CharField(blank=True, max_length=255, null=True, verbose_name='Title'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='ocyansettings',
|
||||
name='seo_title_en',
|
||||
field=models.CharField(blank=True, max_length=255, null=True, verbose_name='Title'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='ocyansettings',
|
||||
name='seo_title_es',
|
||||
field=models.CharField(blank=True, max_length=255, null=True, verbose_name='Title'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='ocyansettings',
|
||||
name='seo_title_fr',
|
||||
field=models.CharField(blank=True, max_length=255, null=True, verbose_name='Title'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='ocyansettings',
|
||||
name='seo_title_it',
|
||||
field=models.CharField(blank=True, max_length=255, null=True, verbose_name='Title'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='ocyansettings',
|
||||
name='seo_title_pt',
|
||||
field=models.CharField(blank=True, max_length=255, null=True, verbose_name='Title'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='ocyansettings',
|
||||
name='seo_title_ru',
|
||||
field=models.CharField(blank=True, max_length=255, null=True, verbose_name='Title'),
|
||||
),
|
||||
]
|
||||
@@ -22,9 +22,6 @@ from ocyan.main.settings import * # pylint:disable=W0401,W0614
|
||||
|
||||
INSTALLED_APPS = ["mandelstudio"] + INSTALLED_APPS
|
||||
|
||||
# Use project-local URLConf so language-prefixed URLs are supported.
|
||||
ROOT_URLCONF = "mandelstudio.urls"
|
||||
|
||||
# Enable request language negotiation.
|
||||
if "django.middleware.locale.LocaleMiddleware" not in MIDDLEWARE:
|
||||
if "django.contrib.sessions.middleware.SessionMiddleware" in MIDDLEWARE:
|
||||
|
||||
Reference in New Issue
Block a user