footer can be empty
This commit is contained in:
parent
bc2be24e7e
commit
808e3f7600
2 changed files with 20 additions and 1 deletions
19
base/migrations/0004_alter_footertext_body.py
Normal file
19
base/migrations/0004_alter_footertext_body.py
Normal 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),
|
||||
),
|
||||
]
|
|
@ -53,7 +53,7 @@ class FooterText(
|
|||
TranslatableMixin,
|
||||
models.Model,
|
||||
):
|
||||
body = RichTextField()
|
||||
body = RichTextField(blank=True)
|
||||
|
||||
panels = [
|
||||
FieldPanel("body"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue