If all dropdowns are on the same page, you probably need to create some views 
that return json, then hit those views with ajax.

On September 15, 2017 9:25:42 PM CDT, "Ahmet Muazim Tunç" 
<rudrashproduct...@gmail.com> wrote:
>I want to make two or three dropdown menus which are dependent on each 
>other. It's Country, City dropdown menus and when Country is selected
>City 
>dropdown menu has to be filled with proper cities. How can I make this?
>I have the data, installed the django-cities-light app and filled my db
>
>with the current country, city information
>
>-- 
>You received this message because you are subscribed to the Google
>Groups "Django users" group.
>To unsubscribe from this group and stop receiving emails from it, send
>an email to django-users+unsubscr...@googlegroups.com.
>To post to this group, send email to django-users@googlegroups.com.
>Visit this group at https://groups.google.com/group/django-users.
>To view this discussion on the web visit
>https://groups.google.com/d/msgid/django-users/c8918eb7-e3cf-411b-8272-a7eb1896092c%40googlegroups.com.
>For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/C6166B8B-43C6-4DDB-9A93-F6C18A805A3D%40fattuba.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to