mirror of
https://github.com/wagtail/wagtail.git
synced 2024-12-01 11:41:20 +01:00
Add upgrade note for removal of panel types
This commit is contained in:
parent
7223fd2b4e
commit
90307f9deb
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user