Skip to content
Snippets Groups Projects
Commit 7e63911c authored by Todd Dembrey's avatar Todd Dembrey
Browse files

Only allow people page under index pages

parent dade2c5b
No related branches found
No related tags found
No related merge requests found
...@@ -166,7 +166,7 @@ class PersonPage(FundingMixin, BasePage): ...@@ -166,7 +166,7 @@ class PersonPage(FundingMixin, BasePage):
class PersonIndexPage(BasePage): class PersonIndexPage(BasePage):
subpage_types = ['PersonPage'] subpage_types = ['PersonPage']
parent_page_types = ['home.HomePage'] parent_page_types = ['standardpages.IndexPage']
@cached_property @cached_property
def people(self): def people(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment