You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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_by with different fields on each model? I personally wasn't able to get anything to work properly. Thanks so much!
The text was updated successfully, but these errors were encountered:
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_by
with different fields on each model? I personally wasn't able to get anything to work properly. Thanks so much!The text was updated successfully, but these errors were encountered: