1
0
mirror of https://github.com/django/django.git synced 2025-10-24 14:16:09 +00:00

[2.1.x] Fixed #29694 -- Fixed column mismatch crash with QuerySet.values() or values_list() after combining querysets with extra() with union(), difference(), or intersection().

Regression in 0b66c3b442.
Backport of 39461a83c3 from master
This commit is contained in:
Mariusz Felisiak
2018-08-29 10:00:15 +02:00
parent c4559d0b39
commit e7acd99113
3 changed files with 17 additions and 1 deletions

View File

@@ -41,3 +41,8 @@ Bugfixes
* Fixed admin change view crash for view-only users if the form has an extra
form field (:ticket:`29682`).
* Fixed a regression in Django 2.0.5 where ``QuerySet.values()`` or
``values_list()`` after combining querysets with ``extra()`` with
``union()``, ``difference()``, or ``intersection()`` crashed due to
mismatching columns (:ticket:`29694`).