django1/django/db/models/fields
Anssi Kääriäinen 9ed82154bd Fixed #23791 -- Corrected object type check for pk__in=qs
When the pk was a relation field, qs.filter(pk__in=qs) didn't work.

In addition, fixed Restaurant.objects.filter(place=restaurant_instance),
where place is an OneToOneField and the primary key of Restaurant.

A big thank you to Josh for review and to Tim for review and cosmetic
edits.

Thanks to Beauhurst for commissioning the work on this ticket.
2015-06-29 07:49:31 -04:00
..
__init__.py Sorted imports in __init__.py files. 2015-06-27 11:53:33 -04:00
files.py Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -04:00
proxy.py Added missing deconstruct() methods. 2013-12-06 15:23:34 +01:00
related.py Fixed #25016 -- Reallowed non-ASCII values for ForeignKey.related_name on Python 3. 2015-06-26 08:30:05 -04:00
related_lookups.py Fixed #23791 -- Corrected object type check for pk__in=qs 2015-06-29 07:49:31 -04:00
subclassing.py Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -04:00