From 9d27c8d562016bf8bc94fb28879dfbabef30d19e Mon Sep 17 00:00:00 2001 From: Mandel Bot Date: Mon, 16 Mar 2026 08:38:13 +0000 Subject: [PATCH] Enable locale-prefixed routing with required i18n settings schema --- ...settings_delivery_time_text_de_and_more.py | 294 ++++++++++++++++++ .../ocyan_plugin_wagtail/__init__.py | 0 mandelstudio/settings/base.py | 3 - 3 files changed, 294 insertions(+), 3 deletions(-) create mode 100644 mandelstudio/i18nmigrations/ocyan_plugin_wagtail/0030_ocyansettings_delivery_time_text_de_and_more.py create mode 100644 mandelstudio/i18nmigrations/ocyan_plugin_wagtail/__init__.py diff --git a/mandelstudio/i18nmigrations/ocyan_plugin_wagtail/0030_ocyansettings_delivery_time_text_de_and_more.py b/mandelstudio/i18nmigrations/ocyan_plugin_wagtail/0030_ocyansettings_delivery_time_text_de_and_more.py new file mode 100644 index 0000000..78abb6e --- /dev/null +++ b/mandelstudio/i18nmigrations/ocyan_plugin_wagtail/0030_ocyansettings_delivery_time_text_de_and_more.py @@ -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'), + ), + ] diff --git a/mandelstudio/i18nmigrations/ocyan_plugin_wagtail/__init__.py b/mandelstudio/i18nmigrations/ocyan_plugin_wagtail/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/mandelstudio/settings/base.py b/mandelstudio/settings/base.py index d570122..641b170 100644 --- a/mandelstudio/settings/base.py +++ b/mandelstudio/settings/base.py @@ -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: