kopia lustrzana https://github.com/wagtail/wagtail
Demote construct_explorer_page_queryset to a minor feature
rodzic
bc34f312ad
commit
e0ad2a720e
|
@ -9,7 +9,6 @@ Changelog
|
|||
* The Wagtail userbar on the frontend has been redesigned, and no longer depends on an iframe (Thomas Winter, Gareth Price).
|
||||
* The page editor now produces a warning if the user navigates away without saving changes
|
||||
* 'Add document' interface now supports uploading multiple documents at once
|
||||
* The set of pages displayed in the page explorer can now be customised with a new hook called `construct_explorer_page_queryset`
|
||||
* The `Document` model can now be overridden using the new `WAGTAILDOCS_DOCUMENT_MODEL` setting (Alex Gleason)
|
||||
* Wagtail no longer depends on django-compressor
|
||||
* The page search interface now searches all fields instead of just the title (Kait Crawford)
|
||||
|
@ -19,6 +18,7 @@ Changelog
|
|||
* Notification message on publish now indicates whether the page is being published now or scheduled for publication in future (Chris Rogers)
|
||||
* Server errors when uploading images / documents through the chooser modal are now reported back to the user (Nigel Fletton)
|
||||
* Added a hook `insert_global_admin_css` for inserting custom CSS throughout the admin backend (Tom Dyson)
|
||||
* Added a hook `construct_explorer_page_queryset` for customising the set of pages displayed in the page explorer
|
||||
* Page models now perform field validation, including testing slugs for uniqueness within a parent page, at the model level on saving
|
||||
* Page slugs are now auto-generated at the model level on page creation if one has not been specified explicitly
|
||||
* The `Page` model now has two new methods `get_site()` and `get_url_parts()` to aid with customising the page URL generation logic
|
||||
|
|
|
@ -46,12 +46,6 @@ Multiple document uploader
|
|||
The "Add a document" interface now supports uploading multiple documents at once, in the same way as uploading images.
|
||||
|
||||
|
||||
Customisation of the page listing QuerySet
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
The pages shown in the explorer can now be customised using a new hook called :ref:`construct_explorer_page_queryset <construct_explorer_page_queryset>`.
|
||||
|
||||
|
||||
Custom document models
|
||||
~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
@ -73,7 +67,8 @@ Minor features
|
|||
* Refactored the way forms are constructed for the page editor, to allow custom forms to be used
|
||||
* Notification message on publish now indicates whether the page is being published now or scheduled for publication in future (Chris Rogers)
|
||||
* Server errors when uploading images / documents through the chooser modal are now reported back to the user (Nigel Fletton)
|
||||
* Added a hook ``insert_global_admin_css`` for inserting custom CSS throughout the admin backend (Tom Dyson)
|
||||
* Added a hook :ref:`insert_global_admin_css` for inserting custom CSS throughout the admin backend (Tom Dyson)
|
||||
* Added a hook :ref:`construct_explorer_page_queryset` for customising the set of pages displayed in the page explorer
|
||||
* Page models now perform field validation, including testing slugs for uniqueness within a parent page, at the model level on saving
|
||||
* Page slugs are now auto-generated at the model level on page creation if one has not been specified explicitly
|
||||
* The ``Page`` model now has two new methods ``get_site()`` and ``get_url_parts()`` to aid with customising the page URL generation logic
|
||||
|
|
Ładowanie…
Reference in New Issue