From e063ac2fae007a2eecaeab5ce17064c31230ce29 Mon Sep 17 00:00:00 2001 From: Matt Johnson Date: Wed, 22 Jul 2015 11:54:42 -0700 Subject: Fixed #12768 -- Fixed QuerySet.raw() regression on FK with custom db_column. --- docs/releases/1.8.4.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs') diff --git a/docs/releases/1.8.4.txt b/docs/releases/1.8.4.txt index e6606cb37f..81b00c1800 100644 --- a/docs/releases/1.8.4.txt +++ b/docs/releases/1.8.4.txt @@ -14,3 +14,7 @@ Bugfixes * Added a system check warning if the old ``TEMPLATE_*`` settings are defined in addition to the new ``TEMPLATES`` setting. + +* Fixed ``QuerySet.raw()`` so ``InvalidQuery`` is not raised when using the + ``db_column`` name of a ``ForeignKey`` field with ``primary_key=True`` + (:ticket:`12768`). -- cgit v1.3