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

Thanks Jon Dufresne for the report and Tim Graham for the review.
This commit is contained in:
Mariusz Felisiak 2017-06-13 08:16:16 +02:00 committed by GitHub
parent 9dc83c356d
commit 82175ead72
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`).