1
I’m not sure why you have two competely separate apps here, rather than just two models in the same app. Regardless, the method is the same: you use the double-underscore syntax to filter across relationships.
Project.taskcount.filter(task__status=False)
Source:stackexchange.com