[Django]-Django query generate LEFT OUTER JOIN instead of INNER JOIN

4👍

You could add an extra argument to the filter to make sure that the related event is not null.

apps_querysset = Application.objects.filter(event__isnull=False, event__status_end__isnull=True)

Leave a comment