Commit 1bd66d3
committed
add select_related and partial prefetch_related support
implement support for a single query for select related base fetches across polymorphic models.
adds a polymorphic QuerySet Mixin to enable non polymorphic models to fetch related models.
fixes: django-commons#198 django-commons#436 django-commons#359 django-commons#244
possible fixes:
django-commons#498: support for prefetch_related cannot fetch attributes not on all child models or via class names
related: django-commons#5311 parent 9f5e0fc commit 1bd66d3
4 files changed
Lines changed: 1242 additions & 31 deletions
0 commit comments