Skip to main content

Wagtail Editable Help

Make help text editable in the Wagtail admin

License

PyPI version Editable Help CI

Links

Supported versions

  • Python 3.10 - 3.14
  • Django 5.2 - 6.0
  • Wagtail 7.0 - 7.4

Installation

  • Run pip install wagtail-editable-help
  • Add "wagtail_editable_help" to INSTALLED_APPS
  • Run ./manage.py migrate
  • Optional: add "wagtail_editable_help.middleware.EditableHelpMiddleware" to the MIDDLEWARE setting, somewhere below "django.contrib.auth.middleware.AuthenticationMiddleware". Enabling this middleware will add an "Edit" link at the point the help text is shown, to allow superusers and other users with the appropriate permission to edit the help text.

Usage

For any help_text argument that you wish to make editable:

from wagtail_editable_help.models import HelpText

then replace help_text="Some help text" with help_text=HelpText("model", "identifier", default="Some help text"). The model and identifier strings serve as a unique identifer for the help text string and to organise the strings in the admin interface - they do not need to exactly match the model or field name. HelpText is valid within any definition that supports help text strings, not just model fields - such as form fields and StreamField blocks.

For example:

class HomePage(Page):
    tagline = models.CharField(max_length=255, help_text="Write something snappy here")

could be rewritten to:

from wagtail_editable_help.models import HelpText

class HomePage(Page):
    tagline = models.CharField(max_length=255, help_text=HelpText("Home page", "tagline", default="Write something snappy here"))

The help text string will then be made available for editing within the Wagtail admin under Settings -> Help text, under the heading "Home page tagline".

Release files for wagtail-editable-help 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wagtail-editable-help 0.3.0
File Size Uploaded
wagtail_editable_help-0.3.0.tar.gz 5.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for wagtail-editable-help 0.3.0
File Interpreter ABI Platform
wagtail_editable_help-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 13.1 kB

Release files / wagtail_editable_help-0.3.0.tar.gz

Download URL wagtail_editable_help-0.3.0.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
2e5899771dff725d098c97f5095b11ec6e2eba8326558caea1890985fdfb02fa
BLAKE2b-256 checksum
How to use checksums
202faf2f3f2a0475cf09b870b92c7d3b0f89479ff667c5600d27c31943f86b2c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Release files / wagtail_editable_help-0.3.0-py3-none-any.whl

Download URL wagtail_editable_help-0.3.0-py3-none-any.whl
Size 7.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
536b2560a4ee3fc68f7bcffe565bbbdc8dce3832c51b599289289d3b341b4029
BLAKE2b-256 checksum
How to use checksums
8723acdc1a50e0ae4ae68afd57f88f78a88b10a5d22d34de38e527934f4941bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page