Filtering related models #391
Unanswered
maslyankov
asked this question in
Q&A
Replies: 1 comment 1 reply
-
In queries without limit/offset the filters are applied on the joined result. That means that you will have:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I am trying to find a way to get all of a model's ForeignKey relations (OneToMany relations) and filter them.
Use case:
As far as I understand, this filters the parent model, not the child models? Is there a way to achieve this with similar syntax?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions