Fixed #23405 -- Fixed makemigrations prompt when adding Text/CharField.

A default is no longer required.
This commit is contained in:
Andriy Sokolovskiy 2014-12-06 22:43:19 +02:00 committed by Tim Graham
parent d39461eb46
commit d8f3b86a76
3 changed files with 53 additions and 3 deletions

View file

@ -140,3 +140,6 @@ Bugfixes
a user specified ``default``. For example, a ``CharField`` with ``blank=True``
didn't set existing rows to an empty string which resulted in a crash when
adding the ``NOT NULL`` constraint (:ticket:`23987`).
* ``makemigrations`` no longer prompts for a default value when adding
``TextField()`` or ``CharField()`` without a ``default`` (:ticket:`23405`).