[Django]-Using Django, I want to find all of the published events after today, but only from the nearest month containing events

1👍

I think what you’re already doing is actually pretty efficient. Django’s query mechanism should collapse those into two SQL queries, one for each filter.

Jamming everything into a single SQL query doesn’t always make it more efficient.

👤payne

Leave a comment