manager: don't display internal placeholders (#19341)

This commit is contained in:
Frédéric Péters 2017-10-13 15:22:03 +02:00
parent 3956d105ae
commit 70acfb2a33
1 changed files with 2 additions and 0 deletions

View File

@ -211,6 +211,8 @@ class PageView(DetailView):
combo_template = settings.COMBO_PUBLIC_TEMPLATES.get(template)
for placeholder in self.object.get_placeholders():
if placeholder.internal:
continue
placeholder_dict = {
'key': placeholder.key,
'name': placeholder.name,