From 2768bdd994d672db7a8938132140f74106728f5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Bedna=C5=99=C3=ADk?= <jan.bednarik@gmail.com> Date: Tue, 8 Sep 2020 23:54:41 +0200 Subject: [PATCH] uniweb: Missing migration --- uniweb/migrations/0002_auto_20200908_2354.py | 43 ++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 uniweb/migrations/0002_auto_20200908_2354.py diff --git a/uniweb/migrations/0002_auto_20200908_2354.py b/uniweb/migrations/0002_auto_20200908_2354.py new file mode 100644 index 00000000..3395b824 --- /dev/null +++ b/uniweb/migrations/0002_auto_20200908_2354.py @@ -0,0 +1,43 @@ +# Generated by Django 3.1.1 on 2020-09-08 21:54 + +import wagtail.core.blocks +import wagtail.core.fields +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ("uniweb", "0001_initial"), + ] + + operations = [ + migrations.AlterField( + model_name="uniwebhomepage", + name="top_menu", + field=wagtail.core.fields.StreamField( + [ + ( + "item", + wagtail.core.blocks.StructBlock( + [ + ("name", wagtail.core.blocks.CharBlock(label="název")), + ( + "page", + wagtail.core.blocks.PageChooserBlock( + label="stránka", + page_type=[ + "uniweb.UniwebHomePage", + "uniweb.UniwebFlexiblePage", + ], + ), + ), + ] + ), + ) + ], + blank=True, + verbose_name="horní menu", + ), + ), + ] -- GitLab