1👍
✅
You can filter with:
hospital = Hospital.objects.first()
Appointment.objects.filter(treament__hispital=hospital)
Source:stackexchange.com
1👍
You can filter with:
hospital = Hospital.objects.first()
Appointment.objects.filter(treament__hispital=hospital)