Skip to content

Commit 4442f7d

Browse files
author
Arne Tarara - Automated
committed
Merge remote-tracking branch 'upstream/main' into network-internal
2 parents fc54237 + 8315e32 commit 4442f7d

File tree

2 files changed

+31
-13
lines changed

2 files changed

+31
-13
lines changed

bakerydemo/base/migrations/0025_homepage_featured_help_text.py

Lines changed: 22 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,35 @@
66
class Migration(migrations.Migration):
77

88
dependencies = [
9-
('base', '0024_alter_formpage_body_alter_gallerypage_body_and_more'),
9+
("base", "0024_alter_formpage_body_alter_gallerypage_body_and_more"),
1010
]
1111

1212
operations = [
1313
migrations.AlterField(
14-
model_name='homepage',
15-
name='featured_section_1_title',
16-
field=models.CharField(blank=True, help_text='Title to display above the featured section 1', max_length=255),
14+
model_name="homepage",
15+
name="featured_section_1_title",
16+
field=models.CharField(
17+
blank=True,
18+
help_text="Title to display above the featured section 1",
19+
max_length=255,
20+
),
1721
),
1822
migrations.AlterField(
19-
model_name='homepage',
20-
name='featured_section_2_title',
21-
field=models.CharField(blank=True, help_text='Title to display above the featured section 2', max_length=255),
23+
model_name="homepage",
24+
name="featured_section_2_title",
25+
field=models.CharField(
26+
blank=True,
27+
help_text="Title to display above the featured section 2",
28+
max_length=255,
29+
),
2230
),
2331
migrations.AlterField(
24-
model_name='homepage',
25-
name='featured_section_3_title',
26-
field=models.CharField(blank=True, help_text='Title to display above the featured section 3', max_length=255),
32+
model_name="homepage",
33+
name="featured_section_3_title",
34+
field=models.CharField(
35+
blank=True,
36+
help_text="Title to display above the featured section 3",
37+
max_length=255,
38+
),
2739
),
2840
]

bakerydemo/base/models.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,9 @@ class HomePage(Page):
326326
# Each list their children items that we access via the children function
327327
# that we define on the individual Page models e.g. BlogIndexPage
328328
featured_section_1_title = models.CharField(
329-
blank=True, max_length=255, help_text="Title to display above the featured section 1"
329+
blank=True,
330+
max_length=255,
331+
help_text="Title to display above the featured section 1",
330332
)
331333
featured_section_1 = models.ForeignKey(
332334
"wagtailcore.Page",
@@ -340,7 +342,9 @@ class HomePage(Page):
340342
)
341343

342344
featured_section_2_title = models.CharField(
343-
blank=True, max_length=255, help_text="Title to display above the featured section 2"
345+
blank=True,
346+
max_length=255,
347+
help_text="Title to display above the featured section 2",
344348
)
345349
featured_section_2 = models.ForeignKey(
346350
"wagtailcore.Page",
@@ -354,7 +358,9 @@ class HomePage(Page):
354358
)
355359

356360
featured_section_3_title = models.CharField(
357-
blank=True, max_length=255, help_text="Title to display above the featured section 3"
361+
blank=True,
362+
max_length=255,
363+
help_text="Title to display above the featured section 3",
358364
)
359365
featured_section_3 = models.ForeignKey(
360366
"wagtailcore.Page",

0 commit comments

Comments
 (0)