From 90307f9debf118f125c4377315c4d9cca96c6ab9 Mon Sep 17 00:00:00 2001 From: Matt Westcott Date: Wed, 13 Apr 2022 15:44:26 +0100 Subject: [PATCH] Add upgrade note for removal of panel types --- docs/releases/3.0.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/releases/3.0.md b/docs/releases/3.0.md index 9384552654..6e55cf5bdb 100644 --- a/docs/releases/3.0.md +++ b/docs/releases/3.0.md @@ -139,6 +139,10 @@ wagtail updatemodulepaths --diff # show the changes to be made, without updatin wagtail updatemodulepaths # actually update the files ``` +### Removal of special-purpose field panel types + +Within panel definitions on models, `StreamFieldPanel`, `RichTextFieldPanel`, `ImageChooserPanel`, `DocumentChooserPanel` and `SnippetChooserPanel` should now be replaced with `FieldPanel`. Additionally, `PageChooserPanel` can be replaced with `FieldPanel` if it does not use the `page_type` or `can_choose_root` arguments. + ### `BASE_URL` setting renamed to `WAGTAILADMIN_BASE_URL` References to `BASE_URL` in your settings should be updated to [`WAGTAILADMIN_BASE_URL`](wagtailadmin_base_url). This setting was not previously documented, but was part of the default project template when starting a project with the `wagtail start` command, and specifies the full base URL for the Wagtail admin, for use primarily in email notifications.