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 authored and ktowen committed Jan 18, 2025
1 parent c346589 commit a660d2c
Show file tree
Hide file tree
Showing 4 changed files with 1,387 additions and 48 deletions.
Loading

0 comments on commit a660d2c

Please sign in to comment.