mirror of
https://github.com/django/django.git
synced 2025-07-19 03:05:32 +00:00
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.
This commit is contained in:
parent
cbe4d6203f
commit
11e327a3ff
8 changed files with 82 additions and 15 deletions
|
@ -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 <deprecated-features-3.1>` for more
|
||||
details on these changes.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue