mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Refs #30841 -- Made isnull lookup raise ValueError for non-boolean values.
Per deprecation timeline.
This commit is contained in:
@@ -3424,11 +3424,6 @@ SQL equivalent:
|
||||
|
||||
SELECT ... WHERE pub_date IS NULL;
|
||||
|
||||
.. deprecated:: 3.1
|
||||
|
||||
Using non-boolean values as the right-hand side is deprecated, use ``True``
|
||||
or ``False`` instead. In Django 4.0, the exception will be raised.
|
||||
|
||||
.. fieldlookup:: regex
|
||||
|
||||
``regex``
|
||||
|
||||
Reference in New Issue
Block a user