2016-10-07 15:02:04 +00:00
==========================================
Wagtail 1.8 release notes - IN DEVELOPMENT
==========================================
.. contents ::
:local:
:depth: 1
What's new
==========
Minor features
~~~~~~~~~~~~~~
2016-10-10 11:21:39 +00:00
* Added support of a custom `` edit_handler `` for site settings. See :ref: `docs for the site settings module <edit_handlers_settings>` . (Axel Haustant)
2016-10-12 12:48:06 +00:00
* Added `` get_landing_page_template `` getter method to `` AbstractForm `` (Gagaro)
2016-09-28 13:55:38 +00:00
* Added `` Page.get_admin_display_title `` method to override how the title is displayed in the admin (Henk-Jan van Hasselaar)
2016-10-09 12:53:39 +00:00
* Added support for specifying custom HTML attributes for table rows on ModelAdmin index pages. See :ref: `modeladmin_get_extra_attrs_for_row` (Andy Babic)
2016-10-26 12:09:40 +00:00
* 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)
2016-10-10 11:21:39 +00:00
2016-10-07 15:02:04 +00:00
Bug fixes
~~~~~~~~~
2016-10-12 12:48:06 +00:00
* `` AbstractForm `` now respects custom `` get_template `` methods on the page model (Gagaro)
2016-10-07 10:19:55 +00:00
* Use specific page model for the parent page in the explore index (Gagaro)
2016-10-08 07:28:30 +00:00
* Remove responsive styles in embed when there is no ratio available (Gagaro)
2016-10-13 21:41:48 +00:00
* Parent page link in page search modal no longer disappears on hover (Dan Braghis)
2016-10-07 22:29:48 +00:00
* ModelAdmin views now consistently call `` get_context_data `` (Andy Babic)
2016-10-20 09:09:14 +00:00
* Header for search results on the redirects index page now shows the correct count when the listing is paginated (Nick Smith)
2016-10-18 11:55:10 +00:00
* `` set_url_paths `` management command is now compatible with Django 1.10 (Benjamin Bach)
2016-10-07 15:02:04 +00:00
Upgrade considerations
======================
2016-10-13 13:54:34 +00:00
`` wagtail.wagtailimages.models.get_image_model `` has moved
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The `` get_image_model `` function should now be imported from `` wagtail.wagtailimages `` rather than `` wagtail.wagtailimages.models `` . See :ref: `custom_image_model_referring_to_image_model` .