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)
Source:stackexchange.com