mirror of
https://github.com/django/django.git
synced 2025-12-15 21:45:20 +00:00
Fixed #23405 -- Fixed makemigrations prompt when adding Text/CharField.
A default is no longer required.
This commit is contained in:
parent
d39461eb46
commit
d8f3b86a76
3 changed files with 53 additions and 3 deletions
|
|
@ -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`).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue