1
0
mirror of https://github.com/django/django.git synced 2024-12-29 12:36:08 +00:00
django/tests/prefetch_related
Loic Bistuer 7bbb6958dc 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.
2014-03-03 21:35:19 +02:00
..
__init__.py
models.py Allowed custom querysets when prefetching single valued relations 2014-03-03 21:35:19 +02:00
tests.py Allowed custom querysets when prefetching single valued relations 2014-03-03 21:35:19 +02:00