From 9123fd75caa595c018d4121575cbada80226b4f2 Mon Sep 17 00:00:00 2001 From: Amr Anwar Date: Mon, 19 Mar 2018 09:58:50 -0400 Subject: [2.0.x] Fixed #29229 -- Fixed column mismatch crash when combining two annotated values_list() querysets with union(), difference(), or intersection(). Regression in 7316720603821ebb64dfe8fa592ba6edcef5f3e. Backport of a0c03c62a8ac586e5be5b21393c925afa581efaf from master --- docs/releases/1.11.12.txt | 4 +++- docs/releases/2.0.4.txt | 5 +++++ 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/releases/1.11.12.txt b/docs/releases/1.11.12.txt index aa0035a3c3..64130c065e 100644 --- a/docs/releases/1.11.12.txt +++ b/docs/releases/1.11.12.txt @@ -9,4 +9,6 @@ Django 1.11.12 fixes a bug in 1.11.11. Bugfixes ======== -* ... +* Fixed a regression in Django 1.11.8 where combining two annotated + ``values_list()`` querysets with ``union()``, ``difference()``, or + ``intersection()`` crashed due to mismatching columns (:ticket:`29229`). diff --git a/docs/releases/2.0.4.txt b/docs/releases/2.0.4.txt index e38c16ed1d..6614808990 100644 --- a/docs/releases/2.0.4.txt +++ b/docs/releases/2.0.4.txt @@ -21,3 +21,8 @@ Bugfixes * Fixed ``PasswordResetConfirmView`` crash when using a user model with a ``UUIDField`` primary key and the reset URL contains an encoded primary key value that decodes to a non-UUID (:ticket:`29206`). + value that decodes to an invalid UUID (:ticket:`29206`). + +* Fixed a regression in Django 1.11.8 where combining two annotated + ``values_list()`` querysets with ``union()``, ``difference()``, or + ``intersection()`` crashed due to mismatching columns (:ticket:`29229`). -- cgit v1.3