Answer the question
In order to leave comments, you need to log in
Select dependency (Django)?
How to make dependent items of the SELECT field. not using a model?
There is a form
class Coutry(forms.Form):
coutries=((1,("USA)),(2,("Russia")))
counry_select = forms.ChoiceField(choices = countries)
city = ChoiceField(choices=?) Here you need to make items dependent on country_select
How can I implement this?Thank you very much for your help.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question