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:
@@ -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`).
|
||||
|
||||
Reference in New Issue
Block a user