django/tests/select_related_onetoone
Simon Charette 738386470d [4.2.x] Fixed #34612 -- Fixed QuerySet.only() crash on reverse relationships.
Regression in b3db6c8dcb.

Thanks Ian Cubitt for the report.

This also corrected test_inheritance_deferred2() test which was
previously properly defined and marked as an expected failure but was
then wrongly adjusted to mask the lack of support for per-alias
deferral that was fixed by #21204.

Backport of 2cf76f2d5d from main
2023-06-01 20:27:06 +01:00
..
__init__.py
models.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
tests.py [4.2.x] Fixed #34612 -- Fixed QuerySet.only() crash on reverse relationships. 2023-06-01 20:27:06 +01:00