Skip to content
Snippets Groups Projects
Commit f0bc3db9 authored by Alexa Valentová's avatar Alexa Valentová
Browse files

remove octopus page from possible child pages

parent 2baddb98
No related branches found
No related tags found
2 merge requests!1147Release,!1146Update team display, better import
Pipeline #19880 passed
......@@ -668,6 +668,12 @@ class DistrictPeoplePage(MainPeoplePageMixin):
### OTHERS
@classmethod
def allowed_subpage_models(cls):
# Get all page types and remove the unwanted child page type
allowed_pages = super().allowed_subpage_models()
return [page for page in allowed_pages if page.__name__ != 'DistrictOctopusPersonPage']
def get_syncable_octopus_groups(self):
groups = []
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment