Wednesday, June 8, 2016

Re: Autocomplete for Admin search field

I have not done this; but I think you would need to overwrite the default Django template and add in a special widget (such as the django-autocomplete-
light one).  Bear in mind you'd also need to handling searching across multiple fields.

On Wednesday, 8 June 2016 14:08:54 UTC+2, Александр Жидовленко wrote:
Could search_field in Django Admin has autocomplete?
In my case I want to type name of product and to see autocomplete list of products.

I found django-autocomplete-light but it uses autocomlete only on change_list pages. Am I wrong?

--
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+unsubscribe@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/37053c87-0a96-4941-8e3f-e2ab5d5b5416%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment