Friday, September 26, 2014

Suggestions on autocomplete solutions for non-model forms not in the admin

Hi,

I'd like to implement an autocomplete functionality for a text field that is defined via a normal form class (forms.Form, not a ModelForm) and
rendered automatically via cryspy-forms (although this is not a requirement).
Autocomplete suggestions should have some kind of template (not simply a text in a dropdown), similar to facebook's search.
The backend to get the suggestions may or may not be directly tied to a foreignkey. Ideally should be a service returning arbitrary json.

Can you please recommend an app that makes this easier? I've seen django-autocomplete-light but not sure if it only works with models and only in the admin (which I do not care for this). Other projects seem abandoned?

I'd like to avoid hacking something together with jquery-whatever.

Thank you very much.
Best regards.
Cumprimentos :)

--
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 http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/10fb61d1-433c-4090-a869-8e5210389b43%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment