-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into dependabot/npm_and_yarn/tailwindcss/typograp…
…hy-0.5.13
- Loading branch information
Showing
104 changed files
with
922 additions
and
352 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Generated by Django 4.1.13 on 2024-03-09 00:37 | ||
|
||
from django.db import migrations | ||
|
||
import wagtail.blocks | ||
import wagtail.fields | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("home", "0003_homepage_profile_image"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="homepage", | ||
name="body", | ||
field=wagtail.fields.StreamField( | ||
[ | ||
( | ||
"section", | ||
wagtail.blocks.StructBlock( | ||
[ | ||
( | ||
"heading", | ||
wagtail.blocks.StructBlock( | ||
[ | ||
( | ||
"text", | ||
wagtail.blocks.CharBlock(required=True), | ||
) | ||
] | ||
), | ||
) | ||
] | ||
), | ||
) | ||
], | ||
blank=True, | ||
use_json_field=True, | ||
), | ||
), | ||
] |
90 changes: 90 additions & 0 deletions
90
lpld/home/migrations/0005_homepage_subtitle_alter_homepage_body.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
# Generated by Django 4.1.13 on 2024-07-07 23:51 | ||
|
||
from django.db import migrations, models | ||
|
||
import wagtail.blocks | ||
import wagtail.fields | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("home", "0004_homepage_body"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="homepage", | ||
name="subtitle", | ||
field=models.CharField(blank=True, max_length=50), | ||
), | ||
migrations.AlterField( | ||
model_name="homepage", | ||
name="body", | ||
field=wagtail.fields.StreamField( | ||
[ | ||
( | ||
"section", | ||
wagtail.blocks.StructBlock( | ||
[ | ||
( | ||
"heading", | ||
wagtail.blocks.StructBlock( | ||
[ | ||
( | ||
"text", | ||
wagtail.blocks.CharBlock(required=True), | ||
) | ||
] | ||
), | ||
), | ||
( | ||
"body", | ||
wagtail.blocks.StreamBlock( | ||
[ | ||
( | ||
"paragraph", | ||
wagtail.blocks.RichTextBlock( | ||
features=["link", "bold", "italics"] | ||
), | ||
), | ||
( | ||
"link_list", | ||
wagtail.blocks.StreamBlock( | ||
[ | ||
( | ||
"page_link", | ||
wagtail.blocks.StructBlock( | ||
[ | ||
( | ||
"page", | ||
wagtail.blocks.PageChooserBlock( | ||
required=True | ||
), | ||
), | ||
( | ||
"text", | ||
wagtail.blocks.CharBlock( | ||
help_text="Text for the link. Defaults to page title.", | ||
required=False, | ||
), | ||
), | ||
] | ||
), | ||
) | ||
] | ||
), | ||
), | ||
], | ||
min_rum=1, | ||
required=False, | ||
), | ||
), | ||
] | ||
), | ||
) | ||
], | ||
blank=True, | ||
use_json_field=True, | ||
), | ||
), | ||
] |
Oops, something went wrong.