pull/7596/head
Matt Westcott 2021-10-13 19:10:56 +01:00
rodzic 76484ac1a3
commit ba3a527230
2 zmienionych plików z 13 dodań i 0 usunięć

Wyświetl plik

@ -69,6 +69,7 @@ Changelog
* Fix: Capture log output from style fallback to avoid noise in unit tests (Matt Westcott)
* Fix: Switch widgets on/off states are now visually different for high-contrast mode users (Sakshi Uppoor)
* Fix: Nested InlinePanel usage no longer fails to save when creating two or more items (Indresh P, Rinish Sam, Anirudh V S)
* Fix: Changed relation name used for admin commenting from `comments` to `wagtail_admin_comments` to avoid conflicts with third-party commenting apps (Matt Westcott)
2.14.1 (12.08.2021)

Wyświetl plik

@ -89,6 +89,7 @@ Bug fixes
* Capture log output from style fallback to avoid noise in unit tests (Matt Westcott)
* Switch widgets on/off states are now visually different for high-contrast mode users (Sakshi Uppoor)
* Nested InlinePanel usage no longer fails to save when creating two or more items (Indresh P, Rinish Sam, Anirudh V S)
* Changed relation name used for admin commenting from ``comments`` to ``wagtail_admin_comments`` to avoid conflicts with third-party commenting apps (Matt Westcott)
Upgrade considerations
======================
@ -187,3 +188,14 @@ This behaviour is will be deprecated in a future release and you should either s
``autocomplete()`` method or pass ``partial_match=False`` into the search method to opt-in to the
new behaviour. The partial matching in ``search()`` will be completely removed in a future release.
See: :ref:`wagtailsearch_searching_pages`
Change of relation name for admin comments
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The ``related_name`` of the relation linking the Page and User models to admin comments has been
changed from ``comments`` to ``wagtail_admin_comments``, to avoid conflicts with third-party apps
that implement commenting. If you have any code that references the ``comments`` relation
(including fixture files), this should be updated to refer to ``wagtail_admin_comments`` instead.
If this is not feasible, the previous behaviour can be restored by adding
``WAGTAIL_COMMENTS_RELATION_NAME = 'comments'`` to your project's settings.