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

56 views
Skip to first unread message

Tiago Almeida

unread,
Sep 26, 2014, 9:02:37 AM9/26/14
to django...@googlegroups.com
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 :)

Collin Anderson

unread,
Sep 29, 2014, 3:33:14 PM9/29/14
to django...@googlegroups.com
It might be simplest to write all your own code. It could be easier to debug and you'll have full control of the situation.
Reply all
Reply to author
Forward
0 new messages