[django/django] cb8344: Fixed #21410 -- prefetch_related() for ForeignKeys...

2 views
Skip to first unread message

GitHub

unread,
Nov 13, 2013, 12:36:48 AM11/13/13
to django-...@googlegroups.com
Branch: refs/heads/master
Home: https://github.com/django/django
Commit: cb83448891f2920c926f61826d8eae4051a3d8f2
https://github.com/django/django/commit/cb83448891f2920c926f61826d8eae4051a3d8f2
Author: Loic Bistuer <loic.b...@sixmedia.com>
Date: 2013-11-12 (Tue, 12 Nov 2013)

Changed paths:
M django/db/models/fields/related.py
M tests/prefetch_related/models.py
M tests/prefetch_related/tests.py

Log Message:
-----------
Fixed #21410 -- prefetch_related() for ForeignKeys with related_name='+'

Regression introduced by commit 9777442.

Thanks to trac username troygrosfield for the report and test case.



Reply all
Reply to author
Forward
0 new messages