django modelForm : dynamically adjust field according to related field
I’ve been working on a hospital project exercice and am wondering how to render a given field (model “doctor”) according to a speciality selection:
user has to select first a medical speciality and according to that one, the doctor’s list will be dynamically updated.