Im trying to develop a platform in Django and when I want to add a new material to it on the admin page, I have to define a faculty and a department for that material. They’re both choice fields. I want that the choices displayed on the second be dependent of the choice made on the previous one. For each faculty that I choose (1st choicefield), it will only display the departments of that faculty (2nd choicefield). How can I make this possible?
Comments
Post a Comment