0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 01:22:07 +01:00
wagtail/docs/releases/1.4.rst
Karl Hobley 8ef846d214 Set on_delete action to SET_NULL on Document.uploaded_by_user
This prevents deletion of users from deleting any Documents they have uploaded.

This is already the behaviour on images.
2016-01-26 17:13:57 +00:00

44 lines
1.7 KiB
ReStructuredText

==========================================
Wagtail 1.4 release notes - IN DEVELOPMENT
==========================================
.. contents::
:local:
:depth: 1
What's new
==========
Custom document models
~~~~~~~~~~~~~~~~~~~~~~
The `Document` model can now be overridden using the new `WAGTAILDOCS_DOCUMENT_MODEL` setting. This works in the same way that `WAGTAILIMAGES_IMAGE_MODEL` works for `Image`.
Minor features
~~~~~~~~~~~~~~
* Date/time pickers now respect the locale's 'first day of week' setting (Peter Quade)
* 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)
Bug fixes
~~~~~~~~~
* Custom page managers no longer raise an error when used on an abstract model
* Wagtail's migrations are now all reversible (benjaoming)
* Deleting a page content type now preserves existing pages as basic Page instances, to prevent tree corruption
* The ``Page.path`` field is now explicitly given the "C" collation on PostgreSQL to prevent tree ordering issues when using a database created with the Slovak locale
* Wagtail's compiled static assets are now put into the correct directory on Windows (Aarni Koskela)
* ``ChooserBlock`` now correctly handles models with primary keys other than ``id`` (alexpilot11)
* Fixed typo in Wistia oEmbed pattern (Josh Hurd)
* Added more accurate help text for the Administrator flag on user accounts (Matt Fozard)
* Tags added on the multiple image uploader are now saved correctly
* Documents created by a user are no longer deleted when the user is deleted
Upgrade considerations
======================