From 11e327a3ff84e16ceace13ea6ec408a93ca9e72c Mon Sep 17 00:00:00 2001 From: Simon Charette Date: Fri, 15 Nov 2019 16:20:07 -0500 Subject: Fixed #30988 -- Deprecated the InvalidQuery exception. It was barely documented without pointers at its defining location and was abused to prevent misuse of the QuerySet field deferring feature. --- docs/internals/deprecation.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs/internals') diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt index b2a21b12a9..044d35bfd5 100644 --- a/docs/internals/deprecation.txt +++ b/docs/internals/deprecation.txt @@ -39,6 +39,9 @@ details on these changes. * The undocumented usage of the :lookup:`isnull` lookup with non-boolean values as the right-hand side will no longer be allowed. +* The ``django.db.models.query_utils.InvalidQuery`` exception class will be + removed. + See the :ref:`Django 3.1 release notes ` for more details on these changes. -- cgit v1.3