forked from jazzband/django-polymorphic
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support select_related and prefetch_related for inherited models and …
…custom queryset for child models (#1) * add support for select_related for inherited models * clone polymorphic related * added prefetch_polymorphic_related * added support for custom queryset for child objects * fix support for custom queryset for child objects * add cloning to added methods * fix polymorphic select_related for query if already defined on base query --------- Co-authored-by: Anubhav Kushwaha <[email protected]>
- Loading branch information
1 parent
bd5faf0
commit 9321221
Showing
1 changed file
with
46 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters