wagtail/docs/advanced_topics
Karl Hobley edfd17a1f1 Reduce usage of edit handlers for workflow management (#6172)
* Use plain old Django forms for tasks

* Revert "Add ExcludeFieldsOnEditMixin for edit handlers, disabling specific fields when bound to an existing instance rather than creating a new one"

This reverts commit 62961b74bb.

* Move Workflow edit handler creation into Workflow forms

Only advantage of having it the way it was before is that allows
overriding the edit handler in subclasses. But nobody will be doing this
with workflows.

I've added a note into the code pointing out that we might want to
rethink using edit handlers if:

 - It gets easier to style formsets without using InlinePanel
 - We want to allow customisation of the form (the use of edit handlers
   should be considered an internal implementation detail at the moment)

* Make task name readonly but groups editable

* Update wagtail/admin/templates/wagtailadmin/workflows/task_chooser/includes/create_form.html

Co-authored-by: Dan Braghis <dan@zerolab.org>

* Update wagtail/admin/forms/workflows.py

Co-authored-by: Dan Braghis <dan@zerolab.org>

Co-authored-by: Dan Braghis <dan@zerolab.org>
2020-07-24 16:59:33 +01:00
..
api Replace calls to django.conf.urls.url with django.urls.path or django.urls.re_path 2020-07-06 13:15:37 +01:00
customisation Mention INSTALLED_APPS ordering in custom user docs 2020-05-18 11:33:53 +01:00
documents Move get_document_model to __init__ & add get_document_model_string 2019-11-07 07:47:12 +10:00
images Fix incorrect urls in the docs 2020-07-06 13:15:40 +01:00
add_to_django_project.rst Replace a few instances of re_path with path 2020-07-06 13:15:39 +01:00
adding_reports.rst improve Adding Reports documentation 2020-05-10 17:15:32 +10:00
amp.rst Fix incorrect urls in the docs 2020-07-06 13:15:40 +01:00
custom_tasks.rst Reduce usage of edit handlers for workflow management (#6172) 2020-07-24 16:59:33 +01:00
deploying.rst Remove our outdated preferences for deployment 2020-03-25 14:31:35 +00:00
embeds.rst Reference the embedly package requirement for embedly finder support (#5680) 2019-11-06 17:03:44 +00:00
i18n.rst Add placeholder docs for internationalisation 2020-04-20 21:04:00 +10:00
index.rst Add custom_tasks.rst 2020-07-24 16:59:33 +01:00
jinja2.rst Use intersphinx for Django references when possible. (#4896) 2018-11-14 11:48:32 +00:00
performance.rst Cache image renditions (#4883) 2020-04-07 14:05:27 +01:00
privacy.rst Fixed reference to LoginView in docs. (#4901) 2018-11-15 11:13:00 +00:00
testing.rst Update links in docs to point at stable Django version 2019-12-01 13:19:40 +10:00
third_party_tutorials.rst Update third_party_tutorials.rst 2020-07-17 10:57:48 +01:00