Update "Upgrade considerations" for 1.6 (#2896)

`AbstractFormField.to_address` also requires migration.
We need to mention it in "Upgrade considerations" for Wagtail 1.6

[skip ci]
pull/2753/merge
Mikalai Radchuk 2016-08-08 16:56:36 +03:00 zatwierdzone przez Matt Westcott
rodzic b3ab3c4e02
commit fcea4ee30d
1 zmienionych plików z 6 dodań i 1 usunięć

Wyświetl plik

@ -87,7 +87,12 @@ 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.
There are some changes in the ``wagtailforms.models.AbstractFormField`` model:
* The ``choices`` field has been changed from a ``CharField`` to a ``TextField``, to allow it to be of unlimited length;
* The help text for the ``to_address`` field has been changed: it now gives more information on how to specify multiple addresses.
These changes require migration. 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 changes to your form page models.
``TagSearchable`` needs removing from custom image / document model migrations
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~