[Answered ]-How to return related objects a queryset's values_list instead of just the PKs

1👍

You can filter with:

hospital = Hospital.objects.first()
Appointment.objects.filter(treament__hispital=hospital)

Leave a comment