Skip to content

Commit

Permalink
Add footertext locale migration and remove spurious workflowcontentty…
Browse files Browse the repository at this point in the history
…pe fixture

Fixes #501
  • Loading branch information
gasman committed Aug 15, 2024
1 parent d0293ed commit 7feeb22
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 7 deletions.
7 changes: 0 additions & 7 deletions bakerydemo/base/fixtures/bakerydemo.json
Original file line number Diff line number Diff line change
Expand Up @@ -1516,13 +1516,6 @@
"workflow": 1
}
},
{
"model": "wagtailcore.workflowcontenttype",
"pk": 4,
"fields": {
"workflow": 1
}
},
{
"model": "wagtailcore.workflowtask",
"pk": 1,
Expand Down
26 changes: 26 additions & 0 deletions bakerydemo/base/migrations/0021_alter_footertext_locale.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Generated by Django 5.0.8 on 2024-08-15 17:22

import django.db.models.deletion
from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
("base", "0020_alter_footertext_options"),
("wagtailcore", "0094_alter_page_locale"),
]

operations = [
migrations.AlterField(
model_name="footertext",
name="locale",
field=models.ForeignKey(
editable=False,
on_delete=django.db.models.deletion.PROTECT,
related_name="+",
to="wagtailcore.locale",
verbose_name="locale",
),
),
]

0 comments on commit 7feeb22

Please sign in to comment.