-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Having a page type for Phases would force the behavior of the pages.
-
Create new page type for Phases. So that phase and services can have a phase, and no other page can.
-
Enforce child page type? as done in
home\models.py:subpage_typesHomePage⇒NewsIndexPage,StandardPageStandardPage⇒StandardPageNewsIndexPage⇒NewsPage -
This would be more valuable if we also created a
PhaseIndexPagethat can only exist under the home and can only containPhasePage, which can only containStandardPages. With the purpose of making the Phase field only applied toPhasePageandServicePage. I guess for now they could use theStandardPagetemplate because it is working, it would just restrict the creation of new pages.Home can also have
PhaseIndexPageandServicesIndexPagebut editors can’t create them, only devs, I guess.