mirror of
https://github.com/wagtail/wagtail.git
synced 2024-11-29 01:22:07 +01:00
254e675634
This is the correct lexer for interactive console sessions, according to <http://pygments.org/docs/lexers/>. This does require command lines to be prefixed with `$`, otherwise they are interpreted as the output of a command. It highlights the command nicely, including environment variables, strings, and comments.
42 lines
1.5 KiB
ReStructuredText
42 lines
1.5 KiB
ReStructuredText
===========================
|
|
Wagtail 0.8.6 release notes
|
|
===========================
|
|
|
|
.. contents::
|
|
:local:
|
|
:depth: 1
|
|
|
|
|
|
What's new
|
|
==========
|
|
|
|
Minor features
|
|
~~~~~~~~~~~~~~
|
|
|
|
* Translations updated, including new translations for Czech, Italian and Japanese
|
|
* The "fixtree" command can now delete orphaned pages
|
|
|
|
|
|
Bug fixes
|
|
~~~~~~~~~
|
|
|
|
* django-taggit library updated to 0.12.3, to fix a bug with migrations on SQLite on Django 1.7.2 and above (https://github.com/alex/django-taggit/issues/285)
|
|
* Fixed a bug that caused children of a deleted page to not be deleted if they had a different type
|
|
|
|
|
|
Upgrade considerations
|
|
======================
|
|
|
|
Orphaned pages may need deleting
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
This release fixes a bug with page deletion introduced in 0.8, where deleting a page with child pages will result in those child pages being left behind in the database (unless the child pages are of the same type as the parent). This may cause errors later on when creating new pages in the same position. To identify and delete these orphaned pages, it is recommended that you run the following command (from the project root) after upgrading to 0.8.6:
|
|
|
|
.. code-block:: console
|
|
|
|
$ ./manage.py fixtree
|
|
|
|
This will output a list of any orphaned pages found, and request confirmation before deleting them.
|
|
|
|
Since this now makes ``fixtree`` an interactive command, a ``./manage.py fixtree --noinput`` option has been added to restore the previous non-interactive behaviour. With this option enabled, deleting orphaned pages is always skipped.
|