Re: Searchable dropdown from models

2018-08-29 Thread Mark Phillips
If I understand your question, there are many different django projects that offer a solution to "autocomplete" in a form. https://djangopackages.org/grids/g/auto-complete/ Or, you can roll your own with the addition of some Javascript. Autocomplete is not a "built-in" function withing the django

Searchable dropdown from models

2018-08-29 Thread ah
Hi, I am trying to create a searchable dropdown list based on Django's model. I have a model M that has 6 objects [apple,orange,carrot,banana,kiwi,peach]. I want to create a view that will have a search box like a html datalist. when user types in "app" -- apple should show in dropbox list. the