Add upgrade note for removal of panel types

pull/8349/head
Matt Westcott 2022-04-13 15:44:26 +01:00
rodzic 7223fd2b4e
commit 90307f9deb
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -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.