Skip to content

Commit 7feeb22

Browse files
committed
Add footertext locale migration and remove spurious workflowcontenttype fixture
Fixes wagtail#501
1 parent d0293ed commit 7feeb22

File tree

2 files changed

+26
-7
lines changed

2 files changed

+26
-7
lines changed

bakerydemo/base/fixtures/bakerydemo.json

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1516,13 +1516,6 @@
15161516
"workflow": 1
15171517
}
15181518
},
1519-
{
1520-
"model": "wagtailcore.workflowcontenttype",
1521-
"pk": 4,
1522-
"fields": {
1523-
"workflow": 1
1524-
}
1525-
},
15261519
{
15271520
"model": "wagtailcore.workflowtask",
15281521
"pk": 1,
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Generated by Django 5.0.8 on 2024-08-15 17:22
2+
3+
import django.db.models.deletion
4+
from django.db import migrations, models
5+
6+
7+
class Migration(migrations.Migration):
8+
9+
dependencies = [
10+
("base", "0020_alter_footertext_options"),
11+
("wagtailcore", "0094_alter_page_locale"),
12+
]
13+
14+
operations = [
15+
migrations.AlterField(
16+
model_name="footertext",
17+
name="locale",
18+
field=models.ForeignKey(
19+
editable=False,
20+
on_delete=django.db.models.deletion.PROTECT,
21+
related_name="+",
22+
to="wagtailcore.locale",
23+
verbose_name="locale",
24+
),
25+
),
26+
]

0 commit comments

Comments
 (0)