2.2.0
Added
- Add
options: QueryOptions
parameter touse_query
to allow for configuration of this hook.
Changed
- By default,
use_query
will recursively prefetch all many-to-many or many-to-one relationships to preventSynchronousOnlyOperation
exceptions.
Removed
django_idom.hooks._fetch_lazy_fields
has been deleted. The equivalent replacement isdjango_idom.utils.django_query_postprocessor
.