Fixed #28047 -- Fixed QuerySet.filter() crash when it uses the name of a OneToOneField pk.

Regression in 1bc249c2a6.
This commit is contained in:
Tim Graham 2017-04-10 09:47:26 -04:00
parent a19b373d89
commit fce7827101
3 changed files with 9 additions and 1 deletions

View file

@ -18,3 +18,6 @@ Bugfixes
* Fixed a crash when using a two-tuple in ``EmailMessage``s ``attachments``
argument (:ticket:`28042`).
* Fixed ``QuerySet.filter()`` crash when it references the name of a
``OneToOneField`` primary key (:ticket:`28047`).