Skip to content

Commit

Permalink
[2.1.x] Fixed #30216 -- Doc'd that BooleanField is no longer blank=Tr…
Browse files Browse the repository at this point in the history
…ue in Django 2.1.

Backport of a6972e8 from stable/2.2.x
  • Loading branch information
davidmgvaz authored and felixxm committed Sep 27, 2019
1 parent db181f4 commit 1556a67
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/ref/models/fields.txt
Expand Up @@ -459,6 +459,10 @@ isn't defined.
use :class:`NullBooleanField` instead. Using the latter is now discouraged
as it's likely to be deprecated in a future version of Django.

In older versions, this field has :attr:`blank=True <Field.blank>`
implicitly. You can restore the previous behavior by setting
``blank=True``.

``CharField``
-------------

Expand Down

0 comments on commit 1556a67

Please sign in to comment.