1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00
django/tests/one_to_one
Loic Bistuer e043aae9bb Fixed #23550 -- Normalized get_queryset() of RelatedObjectDescriptor
and ReverseSingleRelatedObjectDescriptor so they actually return QuerySet
instances.

Also ensured that SingleRelatedObjectDescriptor.get_queryset() accounts
for use_for_related_fields=True.

This cleanup lays the groundwork for #23533.

Thanks Anssi Kääriäinen for the review.
2014-09-24 02:03:12 +07:00
..
__init__.py
models.py Fixed #23550 -- Normalized get_queryset() of RelatedObjectDescriptor 2014-09-24 02:03:12 +07:00
tests.py Fixed #23550 -- Normalized get_queryset() of RelatedObjectDescriptor 2014-09-24 02:03:12 +07:00