Skip to content
Snippets Groups Projects
Commit e5376096 authored by jindra12's avatar jindra12 Committed by jan.bednarik
Browse files

Add election page under crossroads and custom

parent bbc11f64
No related branches found
No related tags found
2 merge requests!787Release,!760Add election page under crossroads and custom
Pipeline #12576 passed
This commit is part of merge request !760. Comments created here will be created in the context of that merge request.
......@@ -1072,7 +1072,11 @@ class DistrictElectionRootPage(RoutablePageMixin, Page):
### RELATIONS
parent_page_types = ["district.DistrictHomePage"]
parent_page_types = [
"district.DistrictHomePage",
"district.DistrictCustomPage",
"district.DistrictCrossroadPage",
]
subpage_types = [
"district.DistrictElectionCampaignPage",
"district.DistrictGeoFeatureCollectionPage",
......@@ -1384,7 +1388,7 @@ class DistrictCustomPage(
### RELATIONS
parent_page_types = ["district.DistrictHomePage", "district.DistrictCrossroadPage"]
subpage_types = []
subpage_types = ["district.DistrictElectionRootPage"]
### OTHERS
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment