mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Refs #31369 -- Removed models.NullBooleanField per deprecation timeline.
This commit is contained in:
parent
06eec31970
commit
d992f4e3c2
34 changed files with 49 additions and 183 deletions
|
@ -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.
|
||||
|
|
|
@ -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``
|
||||
---------------------------
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue