mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
[2.1.x] Fixed #30216 -- Doc'd that BooleanField is no longer blank=True in Django 2.1.
Backport of a6972e8854
from stable/2.2.x
This commit is contained in:
parent
db181f4b7c
commit
1556a67c65
1 changed files with 4 additions and 0 deletions
|
@ -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``
|
||||
-------------
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue