From 7fb175995a2e4399da30db19417aade81ddbdc02 Mon Sep 17 00:00:00 2001 From: SebastienReuiller Date: Tue, 7 May 2024 11:38:54 +0200 Subject: [PATCH] feat: suppression de la limite du nombre de page d'accueil (#1194) --- lemarche/cms/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lemarche/cms/models.py b/lemarche/cms/models.py index e5a415a0..2ea6ee3a 100644 --- a/lemarche/cms/models.py +++ b/lemarche/cms/models.py @@ -152,7 +152,6 @@ class PaidArticleList(ArticleList): class HomePage(Page): - max_count = 3 banner_title = models.CharField( default="Votre recherche de prestataires inclusifs est chronophage ?", max_length=120 ) @@ -216,6 +215,7 @@ class HomePage(Page): FieldPanel("content"), ] + page_description = "Use this page type like a landing page" parent_page_types = ["wagtailcore.Page", "cms.HomePage"] def get_context(self, request, *args, **kwargs):