diff options
| author | Tim Graham <timograham@gmail.com> | 2017-05-06 10:56:28 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2018-03-20 12:10:10 -0400 |
| commit | 5fa4f40f45fcdbb7e48489ed3039a314b5c961d0 (patch) | |
| tree | 272b8798d2c2a054f56d8613a42453bce30f92c0 /docs/releases/2.1.txt | |
| parent | 73f7d1755ff1da3aac687c7b046e4b5028e505db (diff) | |
Fixed #29227 -- Allowed BooleanField to be null=True.
Thanks Lynn Cyrin for contributing to the patch, and Nick Pope for review.
Diffstat (limited to 'docs/releases/2.1.txt')
| -rw-r--r-- | docs/releases/2.1.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/releases/2.1.txt b/docs/releases/2.1.txt index 4d8a9a1d42..ec2a3266a1 100644 --- a/docs/releases/2.1.txt +++ b/docs/releases/2.1.txt @@ -223,6 +223,10 @@ Models * :meth:`.QuerySet.order_by` and :meth:`distinct(*fields) <.QuerySet.distinct>` now support using field transforms. +* :class:`~django.db.models.BooleanField` can now be ``null=True``. This is + encouraged instead of :class:`~django.db.models.NullBooleanField`, which will + likely be deprecated in the future. + Requests and Responses ~~~~~~~~~~~~~~~~~~~~~~ |
