diff options
| author | Loic Bistuer <loic.bistuer@sixmedia.com> | 2014-01-17 01:24:39 +0700 |
|---|---|---|
| committer | Anssi Kääriäinen <akaariai@gmail.com> | 2014-03-03 21:35:19 +0200 |
| commit | 7bbb6958dcb6a450f926e5bb49b07391f801aef1 (patch) | |
| tree | 54142821f5dcd252cc96b4784ae26be9eb48435d /tests/contenttypes_tests/models.py | |
| parent | c8d61fa109b5a4dee1eb6f7ae62c1e6ac00c2cab (diff) | |
Allowed custom querysets when prefetching single valued relations
The original patch for custom prefetches didn't allow usage of custom
queryset for single valued relations (along ForeignKey or OneToOneKey).
Allowing these enables calling performance oriented queryset methods like
select_related or defer/only.
Thanks @akaariai and @timgraham for the reviews. Refs #17001.
Diffstat (limited to 'tests/contenttypes_tests/models.py')
0 files changed, 0 insertions, 0 deletions
