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

[1.11.x] Fixed #28293 -- Fixed union(), intersection(), and difference() when combining with an EmptyQuerySet.

Thanks Jon Dufresne for the report and Tim Graham for the review.

Backport of 82175ead72 from master
This commit is contained in:
Mariusz Felisiak
2017-06-13 08:16:16 +02:00
parent 927d9b51fe
commit 44e29ea1e9
4 changed files with 42 additions and 1 deletions

View File

@@ -29,3 +29,6 @@ Bugfixes
* Fixed crash in admin's inlines when a model has an inherited non-editable
primary key (:ticket:`27967`).
* Fixed ``QuerySet.union()``, ``intersection()``, and ``difference()`` when
combining with an ``EmptyQuerySet`` (:ticket:`28293`).