Look at Django's select widgets:

https://docs.djangoproject.com/en/3.1/ref/forms/widgets/#select

If you want a dynamic search type of widget, you'll need a javascript-based 
approach; for example:

https://django-autocomplete-light.readthedocs.io/en/master/

On Thursday, 5 November 2020 at 16:06:32 UTC+2 shubham...@gmail.com wrote:

> How do you make a dropdown box in django

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/04565de5-b02a-4c85-bf93-8473ce4c2114n%40googlegroups.com.

Reply via email to