Skip to content

Commit

Permalink
add select_related and partial prefetch_related support
Browse files Browse the repository at this point in the history
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#531
  • Loading branch information
pgammans committed Apr 4, 2024
1 parent a68a7a8 commit 4e2cc67
Show file tree
Hide file tree
Showing 4 changed files with 1,387 additions and 48 deletions.
Loading

0 comments on commit 4e2cc67

Please sign in to comment.