Is order_by across polymorphic fields possible? #698
Unanswered
jahnagoldman
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In the documentation, it's mentioned you can use Q objects for filtering by different fields i.e.
and then mentions
order_by() similarly supports the ModelX___field syntax for specifying ordering through a field in a submodel.What's the correct syntax for using
order_bywith different fields on each model? I personally wasn't able to get anything to work properly. Thanks so much!Beta Was this translation helpful? Give feedback.
All reactions