-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #93 from numerique-gouv/page-types-update
Mise à jour des ContentPage pour utiliser la nouvelle classe de base
- Loading branch information
Showing
33 changed files
with
3,935 additions
and
271 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -146,4 +146,5 @@ dmypy.json | |
.vscode/ | ||
|
||
# Project-specific stuff | ||
config.json | ||
cron.json |
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
1,081 changes: 1,081 additions & 0 deletions
1,081
blog/migrations/0003_blogentrypage_header_color_class_and_more.py
Large diffs are not rendered by default.
Oops, something went wrong.
957 changes: 957 additions & 0 deletions
957
blog/migrations/0004_alter_blogentrypage_body_alter_blogindexpage_body.py
Large diffs are not rendered by default.
Oops, something went wrong.
63 changes: 63 additions & 0 deletions
63
blog/migrations/0005_delete_tag_blogentrypage_header_cta_text_and_more.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,63 @@ | ||
# Generated by Django 5.0.2 on 2024-03-05 18:04 | ||
|
||
import modelcluster.fields | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("blog", "0004_alter_blogentrypage_body_alter_blogindexpage_body"), | ||
] | ||
|
||
operations = [ | ||
migrations.DeleteModel( | ||
name="Tag", | ||
), | ||
migrations.AddField( | ||
model_name="blogentrypage", | ||
name="header_cta_text", | ||
field=models.CharField(blank=True, null=True, verbose_name="Call to action text"), | ||
), | ||
migrations.AddField( | ||
model_name="blogindexpage", | ||
name="header_cta_text", | ||
field=models.CharField(blank=True, null=True, verbose_name="Call to action text"), | ||
), | ||
migrations.AlterField( | ||
model_name="blogentrypage", | ||
name="blog_categories", | ||
field=modelcluster.fields.ParentalManyToManyField( | ||
blank=True, through="blog.CategoryEntryPage", to="blog.category", verbose_name="Categories" | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="blogentrypage", | ||
name="header_cta_label", | ||
field=models.CharField(blank=True, null=True, verbose_name="Call to action label"), | ||
), | ||
migrations.AlterField( | ||
model_name="blogentrypage", | ||
name="header_cta_link", | ||
field=models.URLField(blank=True, null=True, verbose_name="Call to action link"), | ||
), | ||
migrations.AlterField( | ||
model_name="blogentrypage", | ||
name="header_darken", | ||
field=models.BooleanField(default=False, verbose_name="Darken background image"), | ||
), | ||
migrations.AlterField( | ||
model_name="blogindexpage", | ||
name="header_cta_label", | ||
field=models.CharField(blank=True, null=True, verbose_name="Call to action label"), | ||
), | ||
migrations.AlterField( | ||
model_name="blogindexpage", | ||
name="header_cta_link", | ||
field=models.URLField(blank=True, null=True, verbose_name="Call to action link"), | ||
), | ||
migrations.AlterField( | ||
model_name="blogindexpage", | ||
name="header_darken", | ||
field=models.BooleanField(default=False, verbose_name="Darken background image"), | ||
), | ||
] |
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,9 @@ | ||
{ | ||
"header_brand": "Intitulé officiel", | ||
"header_brand_html": "Intitulé<br />officiel", | ||
"footer_brand": "Intitulé officiel", | ||
"footer_brand_html": "Intitulé<br />officiel", | ||
"site_title": "Titre du site", | ||
"site_tagline": "Sous-titre du site", | ||
"footer_description": "Description" | ||
} |
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
Oops, something went wrong.