B
B
Boldy2015-01-26 09:36:32
Django
Boldy, 2015-01-26 09:36:32

How to implement autocomplete in TreeForeignKey in django?

There is a model that is used as the TreeForeignKey. Now there are more than 200 such objects and it is very difficult to find them in the list. How to implement autocomplete so that the choice is not using a drop-down list, but an autocomplete with a prompt, i.e. when entering "abc" there was a choice between "abcde" and "------kabce"?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Salavat Sharapov, 2015-01-26
@Boldy

Have a look here https://www.djangopackages.com/grids/g/auto-complete/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question