mirror of
https://github.com/django/django.git
synced 2024-12-29 12:36:08 +00:00
7bbb6958dc
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. |
||
---|---|---|
.. | ||
__init__.py | ||
models.py | ||
tests.py |