diff --git a/base/migrations/0004_alter_footertext_body.py b/base/migrations/0004_alter_footertext_body.py new file mode 100644 index 0000000..c1ad178 --- /dev/null +++ b/base/migrations/0004_alter_footertext_body.py @@ -0,0 +1,19 @@ +# Generated by Django 5.0.2 on 2024-03-23 16:00 + +import wagtail.fields +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('base', '0003_formpage_formfield'), + ] + + operations = [ + migrations.AlterField( + model_name='footertext', + name='body', + field=wagtail.fields.RichTextField(blank=True), + ), + ] diff --git a/base/models.py b/base/models.py index e95cd14..fd159a0 100644 --- a/base/models.py +++ b/base/models.py @@ -53,7 +53,7 @@ class FooterText( TranslatableMixin, models.Model, ): - body = RichTextField() + body = RichTextField(blank=True) panels = [ FieldPanel("body"),