diff --git a/CHANGELOG.txt b/CHANGELOG.txt index e3ccf7247e..4a7f211bf3 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -8,6 +8,9 @@ Changelog * Added `get_landing_page_template` getter method to `AbstractForm` (Gagaro) * Added `Page.get_admin_display_title` method to override how the title is displayed in the admin (Henk-Jan van Hasselaar) * Added support for specifying custom HTML attributes for table rows on ModelAdmin index pages (Andy Babic) + * Added `first_common_ancestor` method to `PageQuerySet` (Tim Heap) + * Page chooser now opens at the deepest ancestor page that covers all the pages of the required page type (Tim Heap) + * `PageChooserBlock` now accepts a `target_model` option to specify the required page type (Tim Heap) * Fix: `AbstractForm` now respects custom `get_template` methods on the page model (Gagaro) * Fix: Use specific page model for the parent page in the explore index (Gagaro) * Fix: Remove responsive styles in embed when there is no ratio available (Gagaro) diff --git a/docs/releases/1.8.rst b/docs/releases/1.8.rst index 9354c3cc1f..d3e33a1cfa 100644 --- a/docs/releases/1.8.rst +++ b/docs/releases/1.8.rst @@ -18,6 +18,9 @@ Minor features * Added ``get_landing_page_template`` getter method to ``AbstractForm`` (Gagaro) * Added ``Page.get_admin_display_title`` method to override how the title is displayed in the admin (Henk-Jan van Hasselaar) * Added support for specifying custom HTML attributes for table rows on ModelAdmin index pages. See :ref:`modeladmin_get_extra_attrs_for_row` (Andy Babic) + * Added ``first_common_ancestor`` method to ``PageQuerySet`` (Tim Heap) + * Page chooser now opens at the deepest ancestor page that covers all the pages of the required page type (Tim Heap) + * ``PageChooserBlock`` now accepts a ``target_model`` option to specify the required page type (Tim Heap) Bug fixes