From 4e8c26531925227872ce29bc0cdee3329be4a216 Mon Sep 17 00:00:00 2001 From: Jason Parrott Date: Thu, 17 Mar 2016 22:45:00 +0900 Subject: [1.9.x] Fixed #26373 -- Fixed reverse lookup crash with a ForeignKey to_field in a subquery. Backport of 4c1c93032f4a015cbb4b33958603d18ac43515b4 from master --- docs/releases/1.9.5.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs') diff --git a/docs/releases/1.9.5.txt b/docs/releases/1.9.5.txt index 98dd1799a8..37157b3e56 100644 --- a/docs/releases/1.9.5.txt +++ b/docs/releases/1.9.5.txt @@ -30,3 +30,7 @@ Bugfixes * Fixed a regression that caused ``collectstatic --clear`` to fail if the storage doesn't implement ``path()`` (:ticket:`26297`). + +* Fixed a crash when using a reverse lookup with a subquery when a + ``ForeignKey`` has a ``to_field`` set to something other than the primary key + (:ticket:`26373`). -- cgit v1.3