I'd like to change the help text and the label for some of the Page
fields in the admin interface. It seems like normally the FieldPanel
picks up the label and help text from the model field, but since I'm wanting to change these values for fields on the Page
model (title
and search_description
, specifically), I can't set verbose_name
and help_text
on the field itself
I tried passing in the heading
and help_text
keyword arguments to FieldPanel
, but I'm still seeing the default label and help text in the admin interface.
class MyPage(Page):
content_panels = [
FieldPanel('title', heading='Name', classname='full'),
FieldPanel('search_description', heading='Description',
classname='full',
help_text='Description used in indices and search results')
]