Skip to content
Snippets Groups Projects
Commit 1baab5cd authored by jan.bednarik's avatar jan.bednarik
Browse files

senat campaign: Hide privacy panel

parent ab1cfdd3
No related branches found
No related tags found
2 merge requests!93Merge test,!92Upgrade
Pipeline #1178 passed
...@@ -5,6 +5,7 @@ from wagtail.admin.edit_handlers import ( ...@@ -5,6 +5,7 @@ from wagtail.admin.edit_handlers import (
FieldPanel, FieldPanel,
HelpPanel, HelpPanel,
MultiFieldPanel, MultiFieldPanel,
PublishingPanel,
StreamFieldPanel, StreamFieldPanel,
) )
from wagtail.core import blocks from wagtail.core import blocks
...@@ -378,6 +379,8 @@ class SenatCampaignNewsPage(Page, SubpageMixin, MetadataPageMixin): ...@@ -378,6 +379,8 @@ class SenatCampaignNewsPage(Page, SubpageMixin, MetadataPageMixin):
), ),
] ]
settings_panels = [PublishingPanel()]
### RELATIONS ### RELATIONS
parent_page_types = ["senat_campaign.SenatCampaignNewsIndexPage"] parent_page_types = ["senat_campaign.SenatCampaignNewsIndexPage"]
......
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