1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #32717 -- Fixed filtering of querysets combined with the | operator.

Address a long standing bug in a Where.add optimization to discard
equal nodes that was surfaced by implementing equality for Lookup
instances in bbf141bcdc.

Thanks Shaheed Haque for the report.
This commit is contained in:
Simon Charette
2021-05-11 01:19:44 -04:00
committed by Mariusz Felisiak
parent 3733ae8957
commit b81c7562fc
4 changed files with 13 additions and 1 deletions

View File

@@ -10,3 +10,6 @@ Bugfixes
========
* Prepared for ``mysqlclient`` > 2.0.3 support (:ticket:`32732`).
* Fixed a regression in Django 3.2 that caused the incorrect filtering of
querysets combined with the ``|`` operator (:ticket:`32717`).