0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00

Docs - use subclass not sub-class

- All other usage of this does not have the hyphen
This commit is contained in:
LB Johnston 2023-09-21 08:07:28 +10:00 committed by LB (Ben Johnston)
parent da636f6b61
commit 6bcc66c1e0

View File

@ -182,7 +182,7 @@ Called when Wagtail needs to find out what objects exist in a collection, if any
Registers a new settings panel class to add to the "Account" view in the admin.
This hook can be added to a sub-class of `BaseSettingsPanel`. For example:
This hook can be added to a subclass of `BaseSettingsPanel`. For example:
```python
from wagtail.admin.views.account import BaseSettingsPanel
@ -1327,7 +1327,7 @@ Hooks for registering and customising bulk actions. See [](custom_bulk_actions)
Registers a new bulk action to add to the list of bulk actions in the explorer
This hook must be registered with a sub-class of `BulkAction` . For example:
This hook must be registered with a subclass of `BulkAction` . For example:
```python
from wagtail.admin.views.bulk_action import BulkAction