wagtail/docs/releases/1.6.rst

42 wiersze
1.8 KiB
ReStructuredText
Czysty Zwykły widok Historia

2016-05-23 14:17:58 +00:00
==========================================
Wagtail 1.6 release notes - IN DEVELOPMENT
==========================================
.. contents::
:local:
:depth: 1
What's new
==========
Minor features
~~~~~~~~~~~~~~
* Page slugs now allow unicode on Django >= 1.9 (Behzad Nategh)
* Image upload form in image chooser now performs client side validation so that the selected file is not lost in the submission (Jack Paine)
2016-06-08 10:36:27 +00:00
* oEmbed URL for audioBoom was updated (Janneke Janssen)
2016-06-08 13:53:01 +00:00
* Remember tree location in page chooser when switching between Internal / External / Email link (Matt Westcott)
2016-06-10 13:26:02 +00:00
* ``FieldRowPanel`` now creates equal-width columns automatically if ``col*`` classnames are not specified (Chris Rogers)
* Form builder now validates against multiple fields with the same name (Richard McMillan)
* The 'choices' field on the form builder no longer has a maximum length (Johannes Spielmann)
2016-05-23 14:17:58 +00:00
Bug fixes
~~~~~~~~~
2016-06-15 17:15:21 +00:00
* Email templates and document uploader now support custom ``STATICFILES_STORAGE`` (Jonny Scholes)
* Removed alignment options (deprecated in HTML and not rendered by Wagtail) from ``TableBlock`` context menu (Moritz Pfeiffer)
* Fixed incorrect CSS path on ModelAdmin's "choose a parent page" view
* Prevent empty redirect by overnormalisation
2016-06-08 12:24:18 +00:00
2016-05-23 14:17:58 +00:00
Upgrade considerations
======================
Form builder ``FormField`` models require a migration
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The ``choices`` field on the ``wagtailforms.models.AbstractFormField`` model has been changed from a ``CharField`` to a ``TextField``, to allow it to be of unlimited length. If you are using the ``wagtailforms`` module in your project, you will need to run ``python manage.py makemigrations`` and ``python manage.py migrate`` after upgrading, in order to apply this change to your form page models.