How can I link (connect) two dropdowns in django admin?
Like:
There are three dropdowns: Country, Province, and District
- Country: When I click on Country dropdown it'll display all the countries. And I'll choose one.
- Province: When I choose a Country, the Province gets filtered according to country and displays all the provinces on that chose country. And I'll choose a province.
- District: After choosing a province, the district gets filtered according to the districts inside that province.
I hope you got me. I want this to be possible in Django admin