-
Notifications
You must be signed in to change notification settings - Fork 918
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for controlling which CMS Page types can be used in the s…
…ite (#14846) * Add support for controlling which CMS Page types can be used in the site This means we can control when a page is available for use in the CMS, versus simply being in the codebase. Also, note that removing a particular page class from this allowlist will not break existing pages that are of that class, but will stop anyone adding a _new_ one. NB: EVERY TIME we add a new Wagtail Page subclass to the CMS, we must add to the CMS_ALLOWED_PAGE_MODELS setting if we want it to be selectable as a new child page in Production (or ticket up when we do want to add it to the setting) * Fix DEV mode allowance of all page types
- Loading branch information
1 parent
9f3ba2f
commit e7a9b14
Showing
4 changed files
with
79 additions
and
2 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