Skip to content

Commit

Permalink
feat: suppression de la limite du nombre de page d'accueil (#1194)
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastienReuiller authored May 7, 2024
1 parent cf7201e commit 7fb1759
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lemarche/cms/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down Expand Up @@ -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):
Expand Down

0 comments on commit 7fb1759

Please sign in to comment.