footer can be empty

This commit is contained in:
Konstantin 2024-03-23 17:00:34 +01:00
parent bc2be24e7e
commit 808e3f7600
2 changed files with 20 additions and 1 deletions

View file

@ -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),
),
]

View file

@ -53,7 +53,7 @@ class FooterText(
TranslatableMixin,
models.Model,
):
body = RichTextField()
body = RichTextField(blank=True)
panels = [
FieldPanel("body"),