Fixed #24605 -- Fixed incorrect reference to alias in subquery.

Thanks to charettes and priidukull for investigating the issue, and to
kurevin for the report.
This commit is contained in:
Anssi Kääriäinen 2015-04-16 08:39:31 +03:00 committed by Tim Graham
parent 8ca9bc5ec3
commit 355c5edd93
5 changed files with 55 additions and 9 deletions

View file

@ -4,5 +4,9 @@ Django 1.7.8 release notes
*Under development*
Django 1.7.8 fixes database introspection with SQLite 3.8.9 (released April 8,
2015) (:ticket:`24637`).
Django 1.7.8 fixes:
* Database introspection with SQLite 3.8.9 (released April 8, 2015)
(:ticket:`24637`).
* A database table name quoting regression in 1.7.2 (:ticket:`24605`).

View file

@ -53,3 +53,5 @@ Bugfixes
* Fixed queries where an expression was referenced in ``order_by()``, but wasn't
part of the select clause. An example query is
``qs.annotate(foo=F('field')).values('pk').order_by('foo'))`` (:ticket:`24615`).
* Fixed a database table name quoting regression (:ticket:`24605`).