Replies: 2 comments
-
I am also interested in this, but I can't figure it out from the documentation. I have code like: delta = datetime.now().date() - timedelta(days=30)
top_movies = (
await Movie.filter(release_date__gte=delta)
.prefetch_related("reviews")
.order_by("-reviews__audience_score", "-release_date")
.limit(5)
) but this is defaulting to a |
Beta Was this translation helpful? Give feedback.
0 replies
-
I want to do the same kind of thing but I have no idea how to do it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Raw SQL:
Beta Was this translation helpful? Give feedback.
All reactions