Dropdown

39 views
Skip to first unread message

Shubham Deshpande

unread,
Nov 5, 2020, 9:06:32 AM11/5/20
to Django users
How do you make a dropdown box in django

Kasper Laudrup

unread,
Nov 5, 2020, 9:10:42 AM11/5/20
to django...@googlegroups.com
Hi Shubham.

On 05/11/2020 06.17, Shubham Deshpande wrote:
> How do you make a dropdown box in django
>

You don't use Django for that. That's plain HTML:

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select

Kind regards,

Kasper Laudrup

Adithya Gowli

unread,
Nov 6, 2020, 7:24:39 PM11/6/20
to django...@googlegroups.com
Hi 

Shubham Deshpande Hope you're doing good 

                           For making a dropbox you can use bootstrap it gives different types of navs bars https://getbootstrap.com/

--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/8be280a1-4c43-2d87-fe4d-787da0d625c0%40stacktrace.dk.

Derek

unread,
Nov 9, 2020, 3:33:48 AM11/9/20
to Django users
Look at Django's select widgets:

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

Reply all
Reply to author
Forward
0 new messages