I am developing a small school management application in Django. On my form I have 3 drop-downs: one to display the list of streams, another to display the list of classes according to the selected stream and another to display the list of students enrolled in the previously selected class in the list of classes displayed according to the selected stream.
Please help me with the code to solve this problem. I’m working in Django 5.
I need to have filters on my Class and Student models to do this, but I don’t know how to proceed.
ISAKA WAKILONGO Eugène is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
2