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

Fixed #12768 -- Fixed QuerySet.raw() regression on FK with custom db_column.

This commit is contained in:
Matt Johnson
2015-07-22 11:54:42 -07:00
committed by Tim Graham
parent 71df9b7de4
commit e063ac2fae
4 changed files with 23 additions and 4 deletions

View File

@@ -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`).