Skip to content
Snippets Groups Projects
Commit 093336e5 authored by Alexa Valentová's avatar Alexa Valentová
Browse files

update important item name length

parent e645c90d
No related branches found
No related tags found
2 merge requests!1377update important item name length,!1376update important item name length
Pipeline #21226 passed
# Generated by Django 5.0.7 on 2025-06-04 19:14
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('district', '0319_auto_20250508_1642'),
]
operations = [
migrations.AlterField(
model_name='districthomepage',
name='important_item_name',
field=models.CharField(blank=True, help_text='Pokud není odkazovaná stránka na Majáku, použij možnost zadání samotné adresy níže.', max_length=32, null=True, verbose_name='Jméno'),
),
]
# Generated by Django 5.0.7 on 2025-06-04 19:14
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('elections', '0071_alter_electionsarticlepage_content'),
]
operations = [
migrations.AlterField(
model_name='electionshomepage',
name='important_item_name',
field=models.CharField(blank=True, help_text='Pokud není odkazovaná stránka na Majáku, použij možnost zadání samotné adresy níže.', max_length=32, null=True, verbose_name='Jméno'),
),
]
# Generated by Django 5.0.7 on 2025-06-04 19:14
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('main', '0156_mainhomepage_ecomail_newsletter_list_source'),
]
operations = [
migrations.AlterField(
model_name='mainhomepage',
name='important_item_name',
field=models.CharField(blank=True, help_text='Pokud není odkazovaná stránka na Majáku, použij možnost zadání samotné adresy níže.', max_length=32, null=True, verbose_name='Jméno'),
),
]
# Generated by Django 5.0.7 on 2025-06-04 19:14
import nakopneme.blocks
import wagtail.fields
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('nakopneme', '0031_alter_nakopnemecalculatorpage_calc_blocks_and_more'),
]
operations = [
migrations.AlterField(
model_name='nakopnemehomepage',
name='content',
field=wagtail.fields.StreamField([('carousel', 5), ('video', 9), ('quote', 16), ('leaders', 20)], blank=True, block_lookup={0: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek na pozadí (desktop)', 'required': True}), 1: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek (mobil)', 'required': True}), 2: ('wagtail.blocks.CharBlock', (), {'default': 'Naše manifesto', 'label': 'Naše manifesto tlačítko text', 'max_length': 32, 'required': True}), 3: ('wagtail.blocks.CharBlock', (), {'default': 'Výzva vládě', 'label': 'Výzva vládě tlačítko text', 'max_length': 32, 'required': True}), 4: ('wagtail.blocks.URLBlock', (), {'label': 'Výzva vládě tlačítko URL', 'required': True}), 5: ('wagtail.blocks.StructBlock', [[('desktop_image', 0), ('mobile_image', 1), ('manifesto_text', 2), ('government_btn_text', 3), ('government_btn_url', 4)]], {}), 6: ('wagtail.blocks.CharBlock', (), {'label': 'ID videa na YouTube', 'required': True}), 7: ('wagtail.blocks.URLBlock', (), {'label': 'Odkaz tlačítka', 'required': True}), 8: ('wagtail.blocks.CharBlock', (), {'label': 'Text tlačítka', 'required': True}), 9: ('wagtail.blocks.StructBlock', [[('video_id', 6), ('button_url', 7), ('button_text', 8)]], {}), 10: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis', 'required': True}), 11: ('wagtail.images.blocks.ImageChooserBlock', (), {'label': 'Obrázek osoby', 'required': True}), 12: ('wagtail.blocks.RichTextBlock', (), {'label': 'Obsah citátu'}), 13: ('wagtail.blocks.CharBlock', (), {'label': 'Podpis autora citátu'}), 14: ('wagtail.blocks.URLBlock', (), {'label': 'URL celého programu'}), 15: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis tlačítka k programu'}), 16: ('wagtail.blocks.StructBlock', [[('heading', 10), ('image', 11), ('quote_content', 12), ('quote_signature', 13), ('program_url', 14), ('program_button_text', 15)]], {}), 17: ('wagtail.blocks.CharBlock', (), {'label': 'Nadpis bloku'}), 18: ('wagtail.blocks.ListBlock', (nakopneme.blocks.NakopnemeLeaderBlock,), {'label': 'Bloky lídrů'}), 19: ('wagtail.blocks.CharBlock', (), {'label': 'ID default kraje'}), 20: ('wagtail.blocks.StructBlock', [[('heading', 17), ('leaders', 18), ('default_leader_id', 19)]], {})}, verbose_name='Hlavní obsah'),
),
migrations.AlterField(
model_name='nakopnemehomepage',
name='important_item_name',
field=models.CharField(blank=True, help_text='Pokud není odkazovaná stránka na Majáku, použij možnost zadání samotné adresy níže.', max_length=32, null=True, verbose_name='Jméno'),
),
]
......@@ -268,7 +268,7 @@ class MainMenuMixin(Page):
important_item_name = models.CharField(
verbose_name="Jméno",
help_text="Pokud není odkazovaná stránka na Majáku, použij možnost zadání samotné adresy níže.",
max_length=16,
max_length=32,
blank=True,
null=True,
)
......
# Generated by Django 5.0.7 on 2025-06-04 19:14
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('uniweb', '0138_auto_20250508_1752'),
]
operations = [
migrations.AlterField(
model_name='uniwebhomepage',
name='important_item_name',
field=models.CharField(blank=True, help_text='Pokud není odkazovaná stránka na Majáku, použij možnost zadání samotné adresy níže.', max_length=32, null=True, verbose_name='Jméno'),
),
]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment