From 396da8b94c62cf955ab401eb40a952b7edba0376 Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Thu, 7 Jan 2021 20:50:36 +0100 Subject: Refs #30841 -- Made isnull lookup raise ValueError for non-boolean values. Per deprecation timeline. --- docs/ref/models/querysets.txt | 5 ----- 1 file changed, 5 deletions(-) (limited to 'docs/ref') diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt index eca0caf6d6..d09089a55e 100644 --- a/docs/ref/models/querysets.txt +++ b/docs/ref/models/querysets.txt @@ -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`` -- cgit v1.3