summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/checks.txt5
-rw-r--r--docs/ref/models/fields.txt11
2 files changed, 4 insertions, 12 deletions
diff --git a/docs/ref/checks.txt b/docs/ref/checks.txt
index 48ffb8c816..e79a50b831 100644
--- a/docs/ref/checks.txt
+++ b/docs/ref/checks.txt
@@ -206,7 +206,10 @@ Model fields
* **fields.W902**: ``FloatRangeField`` is deprecated and will be removed in
Django 3.1. *This check appeared in Django 2.2 and 3.0*.
* **fields.W903**: ``NullBooleanField`` is deprecated. Support for it (except
- in historical migrations) will be removed in Django 4.0.
+ in historical migrations) will be removed in Django 4.0. *This check appeared
+ in Django 3.1 and 3.2*.
+* **fields.E903**: ``NullBooleanField`` is removed except for support in
+ historical migrations.
* **fields.W904**: ``django.contrib.postgres.fields.JSONField`` is deprecated.
Support for it (except in historical migrations) will be removed in Django
4.0.
diff --git a/docs/ref/models/fields.txt b/docs/ref/models/fields.txt
index 3409d2d023..aedf115e08 100644
--- a/docs/ref/models/fields.txt
+++ b/docs/ref/models/fields.txt
@@ -1254,17 +1254,6 @@ To query ``JSONField`` in the database, see :ref:`querying-jsonfield`.
objects and arrays (represented in Python using :py:class:`dict` and
:py:class:`list`) are supported.
-``NullBooleanField``
---------------------
-
-.. class:: NullBooleanField(**options)
-
-Like :class:`BooleanField` with ``null=True``.
-
-.. deprecated:: 3.1
-
- ``NullBooleanField`` is deprecated in favor of ``BooleanField(null=True)``.
-
``PositiveBigIntegerField``
---------------------------