|
| 1 | +# Generated by Django 5.0.12 on 2025-04-24 13:39 |
| 2 | + |
| 3 | +import wagtail.fields |
| 4 | +from django.db import migrations |
| 5 | + |
| 6 | + |
| 7 | +class Migration(migrations.Migration): |
| 8 | + |
| 9 | + dependencies = [ |
| 10 | + ("pages", "0154_alter_impact_improving_access"), |
| 11 | + ] |
| 12 | + |
| 13 | + operations = [ |
| 14 | + migrations.AlterField( |
| 15 | + model_name="rootpage", |
| 16 | + name="layout", |
| 17 | + field=wagtail.fields.StreamField( |
| 18 | + [("default", 0), ("landing", 11)], |
| 19 | + blank=True, |
| 20 | + block_lookup={ |
| 21 | + 0: ("wagtail.blocks.StructBlock", [[]], {}), |
| 22 | + 1: ( |
| 23 | + "wagtail.blocks.CharBlock", |
| 24 | + (), |
| 25 | + {"help_text": "Visible text of the link or button.", "required": True}, |
| 26 | + ), |
| 27 | + 2: ( |
| 28 | + "wagtail.blocks.CharBlock", |
| 29 | + (), |
| 30 | + { |
| 31 | + "help_text": "Accessible label for the link or button. if provided, must begin with the visible text.", |
| 32 | + "required": False, |
| 33 | + }, |
| 34 | + ), |
| 35 | + 3: ( |
| 36 | + "wagtail.blocks.URLBlock", |
| 37 | + (), |
| 38 | + {"help_text": "External links are full urls that can go anywhere", "required": False}, |
| 39 | + ), |
| 40 | + 4: ("wagtail.blocks.PageChooserBlock", (), {"required": False}), |
| 41 | + 5: ("wagtail.documents.blocks.DocumentChooserBlock", (), {"required": False}), |
| 42 | + 6: ( |
| 43 | + "wagtail.blocks.CharBlock", |
| 44 | + (), |
| 45 | + { |
| 46 | + "help_text": "Anchor links reference the ID of an element on the page, and scroll the page there.", |
| 47 | + "required": False, |
| 48 | + }, |
| 49 | + ), |
| 50 | + 7: ( |
| 51 | + "wagtail.blocks.StreamBlock", |
| 52 | + [[("external", 3), ("internal", 4), ("document", 5), ("anchor", 6)]], |
| 53 | + {"required": True}, |
| 54 | + ), |
| 55 | + 8: ( |
| 56 | + "wagtail.blocks.StructBlock", |
| 57 | + [[("text", 1), ("aria_label", 2), ("target", 7)]], |
| 58 | + {"label": "Link", "required": False}, |
| 59 | + ), |
| 60 | + 9: ("wagtail.blocks.ListBlock", (8,), {"default": [], "label": "Nav Links"}), |
| 61 | + 10: ( |
| 62 | + "wagtail.blocks.BooleanBlock", |
| 63 | + (), |
| 64 | + {"default": True, "label": "Show Give Button in Header", "required": False}, |
| 65 | + ), |
| 66 | + 11: ( |
| 67 | + "wagtail.blocks.StructBlock", |
| 68 | + [[("nav_links", 9), ("show_give_now_button", 10)]], |
| 69 | + {"label": "Landing Page"}, |
| 70 | + ), |
| 71 | + }, |
| 72 | + default=[], |
| 73 | + ), |
| 74 | + ), |
| 75 | + ] |
0 commit comments