1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #25316 -- Fixed a crash with order_by() and values() after annotate().

This commit is contained in:
varunnaganathan
2015-12-24 21:12:49 +05:30
committed by Tim Graham
parent f0ad641628
commit 3eba9638ee
4 changed files with 22 additions and 1 deletions

View File

@@ -54,3 +54,7 @@ Bugfixes
* Made ``loaddata`` skip disabling and enabling database constraints when it
doesn't load any fixtures (:ticket:`23372`).
* Fixed a crash in ``QuerySet.values()/values_list()`` after an ``annotate()``
and ``order_by()`` when ``values()/values_list()`` includes a field not in
the ``order_by()`` (:ticket:`25316`).