diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-04-15 10:35:37 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-04-15 12:02:26 +0200 |
| commit | 5f7991c42cff73b6278106d499d719b726f85ead (patch) | |
| tree | 9ed23eb0c50e548230f4f59815e5aeed25816b4c /docs/releases/2.2.1.txt | |
| parent | bfae195b0a2c8dae755610a7e23add5c6bc37b5e (diff) | |
Fixed #30325 -- Reverted "Fixed #29725 -- Removed unnecessary join in QuerySet.count() and exists() on a many-to-many relation."
This reverts commit 1299421cadc4fcf63585f2f88337078e43e660e0 due to
a regression with custom managers.
Diffstat (limited to 'docs/releases/2.2.1.txt')
| -rw-r--r-- | docs/releases/2.2.1.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/releases/2.2.1.txt b/docs/releases/2.2.1.txt index dcad58b2fd..3a2453dbd1 100644 --- a/docs/releases/2.2.1.txt +++ b/docs/releases/2.2.1.txt @@ -29,3 +29,7 @@ Bugfixes * Prevented :djadmin:`makemigrations` from generating infinite migrations for check constraints and partial indexes when ``condition`` contains a :class:`~python:range` object (:ticket:`30350`). + +* Reverted an optimization in Django 2.2 (:ticket:`29725`) that caused the + inconsistent behavior of ``count()`` and ``exists()`` on a reverse + many-to-many relationship with a custom manager (:ticket:`30325`). |
