mirror of
https://github.com/django/django.git
synced 2025-07-24 05:36:15 +00:00
Refs #30841 -- Made isnull lookup raise ValueError for non-boolean values.
Per deprecation timeline.
This commit is contained in:
parent
12ac4916af
commit
396da8b94c
4 changed files with 8 additions and 27 deletions
|
@ -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``
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue