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 |
0 replies
|
I want to do the same kind of thing but I have no idea how to do it. |
0 replies
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.
Raw SQL:
All reactions