mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-03 04:54:45 +00:00
Release / deprecation note for #4749
This commit is contained in:
parent
5802314b3e
commit
dc2f487391
2 changed files with 7 additions and 0 deletions
|
|
@ -4,6 +4,7 @@ Changelog
|
|||
2.5 (xx.xx.xxxx) - IN DEVELOPMENT
|
||||
~~~~~~~~~~~~~~~~
|
||||
|
||||
* Added support for customising EditHandler-based forms on a per-request basis (Bertrand Bordage)
|
||||
* Added more informative error message when `|richtext` filter is applied to a non-string value (mukesh5)
|
||||
* Fix: Set `SERVER_PORT` to 443 in `Page.dummy_request()` for HTTPS sites (Sergey Fedoseev)
|
||||
* Fix: Validation error messages in `InlinePanel` no longer count towards `max_num` when disabling the 'add' button (Todd Dembrey, Thibaud Colas)
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@ What's new
|
|||
Other features
|
||||
~~~~~~~~~~~~~~
|
||||
|
||||
* Added support for customising EditHandler-based forms on a per-request basis (Bertrand Bordage)
|
||||
* Added more informative error message when ``|richtext`` filter is applied to a non-string value (mukesh5)
|
||||
|
||||
|
||||
|
|
@ -26,3 +27,8 @@ Bug fixes
|
|||
|
||||
Upgrade considerations
|
||||
======================
|
||||
|
||||
``EditHandler.bind_to_model`` and ``EditHandler.bind_to_instance`` deprecated
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
The internal ``EditHandler`` methods ``bind_to_model`` and ``bind_to_instance`` have been deprecated, in favour of a new combined ``bind_to`` method which accepts ``model``, ``instance``, ``request`` and ``form`` as optional keyword arguments. Any user code which calls ``EditHandler.bind_to_model(model)`` should be updated to use ``EditHandler.bind_to(model=model)`` instead; any user code which calls ``EditHandler.bind_to_instance(instance, request, form)`` should be updated to use ``EditHandler.bind_to(instance=instance, request=request, form=form)``.
|
||||
|
|
|
|||
Loading…
Reference in a new issue