Commit f06de2f
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: jazzband#198 jazzband#436 jazzband#359 jazzband#244
possible fixes:
jazzband#498: support for prefetch_related cannot fetch attributes not on all child models or via class names
related: jazzband#5311 parent 9207c5f commit f06de2f
File tree
4 files changed
+1387
-48
lines changed- polymorphic
- tests
- migrations
4 files changed
+1387
-48
lines changed
0 commit comments