Skip to content

How to get multi objects in different #530

Answered by collerek
ponytailer asked this question in Q&A
Discussion options

You must be logged in to vote

Right now it's not possible directly (no way to run arbitrary queries).

If A and B are related by fk/m2m you can get A as children of B or B as children of A with standard selects, otherwise you have to split into two queries - one per each model.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ponytailer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants