|
@@ -4,11 +4,16 @@ The Workflow system allows users to create tasks, which represent stages of mode
|
|
|
|
|
|
Wagtail provides one built-in task type: `GroupApprovalTask`, which allows any user in specific groups to approve or reject moderation.
|
|
|
|
|
|
-However, it is possible to implement your own task types. Instances of your custom task can then be created in the `Tasks` section of the Wagtail Admin.
|
|
|
+However, it is possible to implement your own task types. Instances of your custom task can then be created in the Workflow tasks section of the Wagtail Admin.
|
|
|
|
|
|
## Task models
|
|
|
|
|
|
-All custom tasks must be models inheriting from `wagtailcore.Task`. In this set of examples, we'll set up a task that can be approved by only one specific user.
|
|
|
+All custom tasks must be models inheriting from `wagtailcore.Task`.
|
|
|
+
|
|
|
+If you need to customize the behavior of the built-in `GroupApprovalTask`, create a custom task which inherits from `AbstractGroupApprovalTask` and add your customizations there.
|
|
|
+See below for more details on how to customize behavior.
|
|
|
+
|
|
|
+In this set of examples, we'll set up a task that can be approved by only one specific user.
|
|
|
|
|
|
```python
|
|
|
# <project>/models.py
|