Skip to content

Commit

Permalink
add missing types for safe page moving from opportunity to initiatives (
Browse files Browse the repository at this point in the history
  • Loading branch information
Pomax authored Mar 19, 2020
1 parent 6f070b1 commit 1b07468
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions network-api/networkapi/wagtailpages/pagemodels/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,12 @@ class InitiativesPage(PrimaryPage):
'MiniSiteNameSpace',
'OpportunityPage',
'RedirectingPage',
# The following additional types are here to ensure
# that the /initiatives route can house all the pages
# that originally lived under /opportunity
'BlogPage',
'CampaignPage',
'YoutubeRegretsPage',
]

primaryHero = models.ForeignKey(
Expand Down

0 comments on commit 1b07468

Please sign in to comment.