cascade filter in admin?
at first load i want just country enable
after country selected filter the stat
after state selected filter city
how can i achieve it?
i have country model, stat, city and address
stat has foreignkey to country
city has foreignkey to state
address has onetoone country, state, city
thanks
Django admin has no such thing You have to create separate endpoints to get the children and modify the admin template to inject some js code and reading the endpoint results after each choice
thanks, do you know any third party app can do it?
Have you read the error message?
Обсуждают сегодня