Skip to content

2.2.0

Compare
Choose a tag to compare
@Archmonger Archmonger released this 28 Dec 23:25
· 93 commits to main since this release
8a7b641

Added

  • Add options: QueryOptions parameter to use_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 prevent SynchronousOnlyOperation exceptions.

Removed

  • django_idom.hooks._fetch_lazy_fields has been deleted. The equivalent replacement is django_idom.utils.django_query_postprocessor.