[Answered ]-Nested Django query 20 December 2023 by thecoderscamp.com 2 You can use something like this: Substitute.objects.filter(teacher__user=user.pk) Vital Belikov [Answered ]-How does one incorporate a Django application into an existing twisted server? Source:stackexchange.com