Refs #31369 -- Deprecated models.NullBooleanField in favor of BooleanField(null=True).

This commit is contained in:
Tim Schilling 2020-03-30 21:16:33 -05:00 committed by Mariusz Felisiak
parent 34a69c2458
commit a92cc84b4a
7 changed files with 37 additions and 2 deletions

View file

@ -1182,8 +1182,11 @@ values are stored as null.
.. class:: NullBooleanField(**options)
Like :class:`BooleanField` with ``null=True``. Use that instead of this field
as it's likely to be deprecated in a future version of Django.
Like :class:`BooleanField` with ``null=True``.
.. deprecated:: 3.1
``NullBooleanField`` is deprecated in favor of ``BooleanField(null=True)``.
``PositiveBigIntegerField``
---------------------------